Class java.util.jar.JarEntry
java.lang.Object
|
+----java.util.zip.ZipEntry
|
+----java.util.jar.JarEntry
- public class JarEntry
- extends ZipEntry
This class is used to represent a JAR file entry.
Constructor Summary
|
JarEntry(String name)
Creates a new JarEntry for the specified JAR file
entry name.
|
Methods inherited from class java.util.zip.ZipEntry
|
clone, getComment, getCompressedSize, getCrc, getExtra, getMethod, getName, getSize, getTime, hashCode, isDirectory, setComment, setCrc, setExtra, setMethod, setSize, setTime, toString |
Methods inherited from class java.lang.Object
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JarEntry
public JarEntry(String name)
- Creates a new
JarEntry
for the specified JAR file
entry name.
- Parameters:
the
- JAR file entry name
- Throws:
- NullPointerException - if the entry name is
null
- IllegalArgumentException - if the entry name is longer than
0xFFFF bytes.
getAttributes
public Attributes getAttributes()
- Returns the
Manifest
Attributes
for this
entry, or null
if none.
getIdentities
public Identity[] getIdentities()
- Returns the
Identity
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
Submit a bug or feature
Submit comments/suggestions about new javadoc look.
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved.