Class Compressor
- java.lang.Object
-
- ch.qos.logback.core.spi.ContextAwareBase
-
- ch.qos.logback.core.rolling.helper.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.TheCompression
class implements ZIP and GZ file compression/decompression methods.
-
-
Constructor Summary
Constructors Constructor Description Compressor(CompressionMode compressionMode)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.util.concurrent.Future<?>
asyncCompress(java.lang.String nameOfFile2Compress, java.lang.String nameOfCompressedFile, java.lang.String innerEntryName)
Deprecated.void
compress(java.lang.String nameOfFile2Compress, java.lang.String nameOfCompressedFile, java.lang.String innerEntryName)
Deprecated.static java.lang.String
computeFileNameStrWithoutCompSuffix(java.lang.String fileNamePatternStr, CompressionMode compressionMode)
Deprecated.java.lang.String
toString()
Deprecated.-
Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getStatusManager, setContext
-
-
-
-
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 classjava.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
-
-