|
Secure iNet Factory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Archive
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 |
---|
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.
ArchiveException
void decompress(java.io.File file) throws ArchiveException
file
- the input file to decompress.
ArchiveException
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
ArchiveException
void addArchiveListener(ArchiveListener listener)
listener
- void removeArchiveListener(ArchiveListener listener)
listener
-
|
Secure iNet Factory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |