java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.core.rolling.helper.Compressor
- All Implemented Interfaces:
ContextAware
The
Compression
class implements ZIP and GZ file
compression/decompression methods.- Author:
- Ceki Gülcü
-
Field Summary
Fields inherited from class ch.qos.logback.core.spi.ContextAwareBase
context
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionFuture
<?> asyncCompress
(String nameOfFile2Compress, String nameOfCompressedFile, String innerEntryName) void
static String
computeFileNameStrWithoutCompSuffix
(String fileNamePatternStr, CompressionMode compressionMode) toString()
Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
-
Constructor Details
-
Compressor
-
-
Method Details
-
compress
-
computeFileNameStrWithoutCompSuffix
public static String computeFileNameStrWithoutCompSuffix(String fileNamePatternStr, CompressionMode compressionMode) -
toString
-
asyncCompress
public Future<?> asyncCompress(String nameOfFile2Compress, String nameOfCompressedFile, String innerEntryName) throws RolloverFailure - Throws:
RolloverFailure
-