Compression class implements ZIP and GZ file
compression/decompression methods.
| Modifier and Type | Class and Description |
|---|---|
| pack-priv class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final int | |
| pack-priv final CompressionMode |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Future | |
| public void | |
| public static String | |
| pack-priv ZipEntry | |
| pack-priv ZipEntry | |
| pack-priv void | |
| private void | |
| public String | |
| private void |
| BUFFER_SIZE | back to summary |
|---|---|
| pack-priv static final int BUFFER_SIZE | |
| compressionMode | back to summary |
|---|---|
| pack-priv final CompressionMode compressionMode | |
| Compressor | back to summary |
|---|---|
| public Compressor(CompressionMode compressionMode) | |
| asyncCompress | back to summary |
|---|---|
| public Future | |
| compress | back to summary |
|---|---|
public void compress(String nameOfFile2Compress, String nameOfCompressedFile, String innerEntryName)
| |
| computeFileNameStrWithoutCompSuffix | back to summary |
|---|---|
| public static String computeFileNameStrWithoutCompSuffix(String fileNamePatternStr, CompressionMode compressionMode) | |
| computeZipEntry | back to summary |
|---|---|
| pack-priv ZipEntry computeZipEntry(File zippedFile) | |
| computeZipEntry | back to summary |
|---|---|
| pack-priv ZipEntry computeZipEntry(String filename) | |
| createMissingTargetDirsIfNecessary | back to summary |
|---|---|
| pack-priv void createMissingTargetDirsIfNecessary(File file) | |
| gzCompress | back to summary |
|---|---|
| private void gzCompress(String nameOfFile2gz, String nameOfgzedFile) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| zipCompress | back to summary |
|---|---|
| private void zipCompress(String nameOfFile2zip, String nameOfZippedFile, String innerEntryName) | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final String | |
| pack-priv final String | |
| pack-priv final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void |
| innerEntryName | back to summary |
|---|---|
| pack-priv final String innerEntryName | |
| nameOfCompressedFile | back to summary |
|---|---|
| pack-priv final String nameOfCompressedFile | |
| nameOfFile2Compress | back to summary |
|---|---|
| pack-priv final String nameOfFile2Compress | |
| CompressionRunnable | back to summary |
|---|---|
| public CompressionRunnable(String nameOfFile2Compress, String nameOfCompressedFile, String innerEntryName) | |
| run | back to summary |
|---|---|
| public void run() Implements java. Doc from java. Runs this operation. | |