public class Archive extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Hashtable<String,ArrayList<String>> |
packagesCache |
static Archive |
UNKNOWN_ARCHIVE |
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
allPackages() |
void |
close() |
boolean |
contains(String entryName) |
void |
flush() |
ArchiveFileObject |
getArchiveFileObject(String entryName,
Charset charset) |
ArrayList<String> |
getTypes(String packageName) |
public static final Archive UNKNOWN_ARCHIVE
public Archive(File file) throws ZipException, IOException
ZipExceptionIOExceptionpublic ArchiveFileObject getArchiveFileObject(String entryName, Charset charset)
public boolean contains(String entryName)
public void flush()
public void close()
Copyright © 2013. All rights reserved.