|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object![]()
![]()
![]()
java.util.zip.ZipEntry
![]()
![]()
![]()
java.util.jar.JarEntry

public class JarEntry

This class is used to represent a JAR file entry.
| Field Summary | |
|---|---|
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
|
Fields inherited from class java.util.zip.ZipEntry ![]() |
|---|
DEFLATED |
| Constructor Summary | |
|---|---|
JarEntry
Creates a new JarEntry with fields taken from the
specified JarEntry object. |
|
JarEntry
Creates a new JarEntry for the specified JAR file
entry name. |
|
JarEntry
Creates a new JarEntry with fields taken from the
specified ZipEntry object. |
|
| Method Summary | |
|---|---|
Attributes |
getAttributes
Returns the Manifest Attributes for this
entry, or null if none. |
Certificate |
getCertificates
Returns the Certificate objects for this entry, or
null if none. |
CodeSigner |
getCodeSigners
Returns the CodeSigner objects for this entry, or
null if none. |
Methods inherited from class java.util.zip.ZipEntry ![]() |
|---|
clone |
Methods inherited from class java.lang.Object ![]() |
|---|
equals |
| Field Detail |
|---|

public 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
| Constructor Detail |
|---|

public JarEntry(String![]()
![]()
name)
JarEntry for the specified JAR file
entry name.
name - the JAR file entry name
NullPointerException

- if the entry name is null
IllegalArgumentException

- if the entry name is longer than
0xFFFF bytes.

public JarEntry(ZipEntry![]()
![]()
ze)
JarEntry with fields taken from the
specified ZipEntry object.
ze - the ZipEntry object to create the
JarEntry from

public JarEntry(JarEntry![]()
![]()
je)
JarEntry with fields taken from the
specified JarEntry object.
je - the JarEntry to copy| Method Detail |
|---|

public Attributes![]()
![]()
getAttributes() throws IOException
![]()
![]()
Manifest Attributes for this
entry, or null if none.
Manifest Attributes for this
entry, or null if none
IOException


public Certificate![]()
![]()
[] getCertificates()
Certificate objects for this entry, or
null if none. This method can only be called once
the JarEntry has been completely verified by reading
from the entry input stream until the end of the stream has been
reached. Otherwise, this method will return null.
The returned certificate array comprises all the signer certificates that were used to verify this entry. Each signer certificate is followed by its supporting certificate chain (which may be empty). Each signer certificate and its supporting certificate chain are ordered bottom-to-top (i.e., with the signer certificate first and the (root) certificate authority last).
Certificate objects for this entry, or
null if none.

public CodeSigner![]()
![]()
[] getCodeSigners()
CodeSigner objects for this entry, or
null if none. This method can only be called once
the JarEntry has been completely verified by reading
from the entry input stream until the end of the stream has been
reached. Otherwise, this method will return null.
The returned array comprises all the code signers that have signed this entry.
CodeSigner objects for this entry, or
null if none.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||