|
Secure iNet Factory | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Implements methods for compression and decompression of files.
| Method Summary | |
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. |
| Method Detail |
public void compress(java.io.File file)
throws ArchiveException
file - the file to compress.
ArchiveException
public void compress(java.io.File file,
java.io.File output)
throws ArchiveException
file - the input file.output - the output file.
ArchiveException
public void decompress(java.io.File file)
throws ArchiveException
file - the input file to decompress.
ArchiveException
public void 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.Exception
ArchiveExceptionpublic void addArchiveListener(ArchiveListener listener)
listener - public void removeArchiveListener(ArchiveListener listener)
listener -
|
Secure iNet Factory | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||