Class Compressor

  • All Implemented Interfaces:

    public class Compressor
    extends ContextAwareBase
    The Compression class implements ZIP and GZ file compression/decompression methods.
    • Constructor Detail

    • Method Detail

      • compress

        public void compress​(String nameOfFile2Compress,
                             String nameOfCompressedFile,
                             String innerEntryName)
        nameOfFile2Compress -
        nameOfCompressedFile -
        innerEntryName - The name of the file within the zip file. Use for ZIP compression.
      • computeFileNameStrWithoutCompSuffix

        public static String computeFileNameStrWithoutCompSuffix​(String fileNamePatternStr,
                                                                 CompressionMode compressionMode)