| Package | Description |
|---|---|
| com.cloudhopper.commons.util |
| Modifier and Type | Method and Description |
|---|---|
static File |
CompressionUtil.compress(File sourceFile,
File targetDir,
String algorithm,
boolean deleteSourceFileAfterCompressed)
Compresses the source file using a variety of supported compression
algorithms.
|
static File |
CompressionUtil.compress(File sourceFile,
String algorithm,
boolean deleteSourceFileAfterCompressed)
Compresses the source file using a variety of supported compression
algorithms.
|
static void |
FileUtil.copy(File sourceFile,
File targetFile)
Copy the source file to the target file.
|
static boolean |
FileUtil.copy(File sourceFile,
File targetFile,
boolean overwrite)
Copy the source file to the target file while optionally permitting an
overwrite to occur in case the target file already exists.
|
static File |
CompressionUtil.uncompress(File sourceFile,
boolean deleteSourceFileAfterUncompressed)
Uncompresses the source file using a variety of supported compression
algorithms.
|
static File |
CompressionUtil.uncompress(File sourceFile,
File targetDir,
boolean deleteSourceFileAfterUncompressed)
Uncompresses the source file using a variety of supported compression
algorithms.
|
Copyright © 2012-2015 Cloudhopper by Twitter. All Rights Reserved.