| Modifier and Type | Method and Description |
|---|---|
void |
addArchiveListener(ArchiveListener listener)
Add listener.
|
void |
compress(java.io.File file)
Compresses a file.
|
void |
compress(java.io.File file,
java.io.File output)
Compress a file or directory and store to output file
|
void |
decompress(java.io.File file)
Decompress a file into current directory
|
void |
decompress(java.io.File file,
java.io.File output)
Decompress a file and stores to output file or directory
|
void |
removeArchiveListener(ArchiveListener listener)
Removes listener.
|
void compress(java.io.File file)
throws ArchiveException
file - the file to compress.ArchiveException - ArchiveExceptionvoid compress(java.io.File file,
java.io.File output)
throws ArchiveException
file - the input file.output - the output file.ArchiveExceptionvoid decompress(java.io.File file)
throws ArchiveException
file - the input file to decompress.ArchiveExceptionvoid decompress(java.io.File file,
java.io.File output)
throws ArchiveException
file - the archive file to decompress.output - the output directory or file to decompress to.java.lang.ExceptionArchiveExceptionvoid addArchiveListener(ArchiveListener listener)
listener - void removeArchiveListener(ArchiveListener listener)
listener - Copyright © JSCAPE LLC. 1999-2021. All Rights Reserved