| 限定符和类型 | 字段和说明 |
|---|---|
static int |
CENATT |
static int |
CENATX |
static int |
CENCOM |
static int |
CENCRC |
static int |
CENDSK |
static int |
CENEXT |
static int |
CENFLG |
static int |
CENHDR |
static int |
CENHOW |
static int |
CENLEN |
static int |
CENNAM |
static int |
CENOFF |
static long |
CENSIG |
static int |
CENSIZ |
static int |
CENTIM |
static int |
CENVEM |
static int |
CENVER |
static int |
ENDCOM |
static int |
ENDHDR |
static int |
ENDOFF |
static long |
ENDSIG |
static int |
ENDSIZ |
static int |
ENDSUB |
static int |
ENDTOT |
static int |
EXTCRC |
static int |
EXTHDR |
static int |
EXTLEN |
static long |
EXTSIG |
static int |
EXTSIZ |
static int |
LOCCRC |
static int |
LOCEXT |
static int |
LOCFLG |
static int |
LOCHDR |
static int |
LOCHOW |
static int |
LOCLEN |
static int |
LOCNAM |
static long |
LOCSIG |
static int |
LOCSIZ |
static int |
LOCTIM |
static int |
LOCVER |
| 限定符和类型 | 方法和说明 |
|---|---|
Attributes |
getAttributes() |
Certificate[] |
getCertificates() |
CodeSigner[] |
getCodeSigners() |
long |
getCompressedSize()
Return the compressed size of the entry.
|
long |
getLocalHeaderOffset()
Return the offset of the load file header within the archive data.
|
int |
getMethod()
Return the method used to compress the data.
|
long |
getSize()
Return the uncompressed size of the entry.
|
boolean |
hasName(String name,
String suffix)
Returns
true if the header has the given name. |
clone, getComment, getCompressedSize, getCrc, getCreationTime, getExtra, getLastAccessTime, getLastModifiedTime, getMethod, getName, getSize, getTime, hashCode, isDirectory, setComment, setCompressedSize, setCrc, setCreationTime, setExtra, setLastAccessTime, setLastModifiedTime, setMethod, setSize, setTime, toStringpublic static final long LOCSIG
public static final long EXTSIG
public static final long CENSIG
public static final long ENDSIG
public static final int LOCHDR
public static final int EXTHDR
public static final int CENHDR
public static final int ENDHDR
public static final int LOCVER
public static final int LOCFLG
public static final int LOCHOW
public static final int LOCTIM
public static final int LOCCRC
public static final int LOCSIZ
public static final int LOCLEN
public static final int LOCNAM
public static final int LOCEXT
public static final int EXTCRC
public static final int EXTSIZ
public static final int EXTLEN
public static final int CENVEM
public static final int CENVER
public static final int CENFLG
public static final int CENHOW
public static final int CENTIM
public static final int CENCRC
public static final int CENSIZ
public static final int CENLEN
public static final int CENNAM
public static final int CENEXT
public static final int CENCOM
public static final int CENDSK
public static final int CENATT
public static final int CENATX
public static final int CENOFF
public static final int ENDSUB
public static final int ENDTOT
public static final int ENDSIZ
public static final int ENDOFF
public static final int ENDCOM
public boolean hasName(String name, String suffix)
true if the header has the given name.name - the name to testsuffix - an additional suffix (or null)true if the header has the given namepublic Attributes getAttributes() throws IOException
getAttributes 在类中 JarEntryIOExceptionpublic Certificate[] getCertificates()
getCertificates 在类中 JarEntrypublic CodeSigner[] getCodeSigners()
getCodeSigners 在类中 JarEntrypublic long getLocalHeaderOffset()
public long getCompressedSize()
public long getSize()
public int getMethod()
ZipEntry.STORED,
ZipEntry.DEFLATEDCopyright © 2019. All rights reserved.