Method Summary |
|
void | addDirectory(File directory) add the content of the given directory into the root of the archive. |
void | addDirectoryIn(String dirName, File directory) add the content of the given directory into the given directory of the
archive. |
void | addFile(File file) add a lonely file into the root directory of the archive. |
void | addFile(File file, String name) add a file into the root directory of the archive with a specified name. |
void | addFileIn(String dirName, File file) add a lonely file into the given directory of the archive. |
void | close() |
List | getContainedFiles() Returns a List of all files contained in this archive. |
InputStream | getInputStream(String filename) Returns an InputStream corresponding to the given filename. |
Manifest | getManifest() Returns the Manifest of the Archive. |
String | getName() Returns the name of the Archive. |
File | getRootFile() Returns the File corresponding to the root of the archive. |
boolean | isPacked() Returns true if archive is packed or false if archive is unpacked. |