public class ZipFile extends Object implements ZipConstants
Modifier and Type | Field and Description |
---|---|
static int |
OPEN_DELETE |
static int |
OPEN_READ |
CENATT, CENATX, CENCOM, CENCRC, CENDSK, CENEXT, CENFLG, CENHDR, CENHOW, CENLEN, CENNAM, CENOFF, CENSIG, CENSIZ, CENTIM, CENVEM, CENVER, ENDCOM, ENDHDR, ENDOFF, ENDSIG, ENDSIZ, ENDSUB, ENDTOT, EXTCRC, EXTHDR, EXTLEN, EXTSIG, EXTSIZ, LOCCRC, LOCEXT, LOCFLG, LOCHDR, LOCHOW, LOCLEN, LOCNAM, LOCSIG, LOCSIZ, LOCTIM, LOCVER
Constructor and Description |
---|
ZipFile(File var0) |
ZipFile(File var0,
int var1) |
ZipFile(String var0) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
Enumeration |
entries() |
protected void |
finalize() |
ZipEntry |
getEntry(String var0) |
InputStream |
getInputStream(ZipEntry var0) |
String |
getName() |
int |
size() |
public static final int OPEN_READ
public static final int OPEN_DELETE
public ZipFile(File var0) throws ZipException, IOException
ZipException
IOException
public ZipFile(File var0, int var1) throws IOException
IOException
public ZipFile(String var0) throws IOException
IOException
protected void finalize() throws IOException
finalize
in class Object
IOException
public void close() throws IOException
IOException
public Enumeration entries()
public InputStream getInputStream(ZipEntry var0) throws IOException
IOException
public String getName()
public int size()