All Packages  Class Hierarchy  This Package  Previous  Next  Index  

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 Index

 o JarEntry(String)
Creates a new JarEntry for the specified JAR file entry name.

Method Index

 o getAttributes()
Returns the Manifest Attributes for this entry, or null if none.
 o getIdentities()
Returns the Identity objects for this entry, or null if none.

Constructors

 o 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
Throws: IllegalArgumentException
if the entry name is longer than 0xFFFF bytes.

Methods

 o getAttributes
public Attributes getAttributes()
Returns the Manifest Attributes for this entry, or null if none.

 o 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


All Packages  Class Hierarchy  This Package  Previous  Next  Index  

Submit a bug or feature