ch.qos.logback.core.rolling.helper
Class Compress
java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.core.rolling.helper.Compress
- All Implemented Interfaces:
- ContextAware
public class Compress
- extends ContextAwareBase
The Compression
class implements ZIP and GZ file
compression/decompression methods.
- Author:
- Ceki Gülcü
Field Summary |
static int |
GZ
|
static String |
GZ_STR
String constant representing compression in the GZIP format. |
static int |
NONE
|
static String |
NONE_STR
String constant representing no compression. |
static int |
ZIP
|
static String |
ZIP_STR
String constant representing compression in the ZIP format. |
NONE
public static final int NONE
- See Also:
- Constant Field Values
GZ
public static final int GZ
- See Also:
- Constant Field Values
ZIP
public static final int ZIP
- See Also:
- Constant Field Values
NONE_STR
public static final String NONE_STR
- String constant representing no compression. The value of this constant is
"NONE".
- See Also:
- Constant Field Values
GZ_STR
public static final String GZ_STR
- String constant representing compression in the GZIP format. The value of
this constant is "GZ".
- See Also:
- Constant Field Values
ZIP_STR
public static final String ZIP_STR
- String constant representing compression in the ZIP format. The value of
this constant is "ZIP".
- See Also:
- Constant Field Values
Compress
public Compress()
ZIPCompress
public void ZIPCompress(String nameOfFile2zip)
ZIPCompress
public void ZIPCompress(String nameOfFile2zip,
String nameOfZippedFile)
GZCompress
public void GZCompress(String nameOfFile2gz)
GZCompress
public void GZCompress(String nameOfFile2gz,
String nameOfgzedFile)
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2005-2008 QOS.ch. All Rights Reserved.