Class Compressor

  • All Implemented Interfaces:
    ContextAware

    @Deprecated(since="2022-01-27")
    public class Compressor
    extends ContextAwareBase
    Deprecated.
    This internal logback API is not supported by AEM as a Cloud Service.
    The Compression class implements ZIP and GZ file compression/decompression methods.
    • Constructor Detail

      • Compressor

        public Compressor​(CompressionMode compressionMode)
        Deprecated.
    • Method Detail

      • compress

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

        public static java.lang.String computeFileNameStrWithoutCompSuffix​(java.lang.String fileNamePatternStr,
                                                                           CompressionMode compressionMode)
        Deprecated.
      • toString

        public java.lang.String toString()
        Deprecated.
        Overrides:
        toString in class java.lang.Object
      • asyncCompress

        public java.util.concurrent.Future<?> asyncCompress​(java.lang.String nameOfFile2Compress,
                                                            java.lang.String nameOfCompressedFile,
                                                            java.lang.String innerEntryName)
                                                     throws RolloverFailure
        Deprecated.
        Throws:
        RolloverFailure