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
ZipExceptionIOExceptionpublic ZipFile(File var0, int var1) throws IOException
IOExceptionpublic ZipFile(String var0) throws IOException
IOExceptionprotected void finalize()
throws IOException
finalize in class ObjectIOExceptionpublic void close()
throws IOException
IOExceptionpublic Enumeration entries()
public InputStream getInputStream(ZipEntry var0) throws IOException
IOExceptionpublic String getName()
public int size()