Generated by
JDiff

java.util.jar Documentation Differences

This file contains all the changes in documentation in the package java.util.jar as colored differences. Deletions are shown like this, and additions are shown like this.
If no deletions or additions are shown in an entry, the HTML tags will be what has changed. The new HTML tags are shown in the differences. If no documentation existed, and then some was added in a later version, this change is noted in the appropriate class pages of differences, but the change is not shown on this page. Only changes in existing text are shown here. Similarly, documentation which was inherited from another class or interface is not shown here.
Note that an HTML error in the new documentation may cause the display of other documentation changes to be presented incorrectly. For instance, failure to close a <code> tag will cause all subsequent paragraphs to be displayed differently.

Class Attributes

The Attributes class maps Manifest attribute names to associated string values. Attribute names are case-insensitive and restricted to the ASCII characters in the set [0-9a-zA-Z_-]. Attribute values can contain any characters and will be UTF8-encoded when written to the output stream. @author David Connelly @version 1.37 0238 12/0203/0001 @see Manifest @since 1.2

Class JarException

Signals that an error of some sort has occurred while reading from or writing to a JAR file. @author David Connelly @version 1.9 0210 12/0203/0001 @since 1.2

Class JarFile

The JarFile class is used to read the contents of a JAR file from any file that can be opened with java.io.RandomAccessFile. It extends the class java.util.zip.ZipFile with support for reading an optional Manifest entry. The Manifest can be used to specify meta-information about the JAR file and its entries. @author David Connelly @version 1.41 0444 12/2103/01 @see Manifest @see java.util.zip.ZipFile @see java.util.jar.JarEntry @since 1.2
Class JarFile, constructor JarFile(File)

Creates a new JarFile to read from the specified File object. The JarFile will be verified if it is signed. @param file the JAR file to be opened for reading @exception FileNotFoundExceptionIOException if the filean couldI/O not be founderror has occurred @exception IOExceptionSecurityException if anaccess I/Oto error hasthe file occurredis denied by the SecurityManager
Class JarFile, constructor JarFile(File, boolean)

Creates a new JarFile to read from the specified File object. @param file the JAR file to be opened for reading @param verify whether or not to verify the JarFile if it is signed. @exception FileNotFoundExceptionIOException if the filean couldI/O not be founderror has occurred @exception IOExceptionSecurityException if anaccess I/Oto error hasthe file occurredis denied by the SecurityManager.
Class JarFile, constructor JarFile(File, boolean, int)

Creates a new JarFile to read from the specified File object in the specified mode. The mode argument must be either OPEN_READ or OPEN_READ | OPEN_DELETE. @param file the JAR file to be opened for reading @param verify whether or not to verify the JarFile if it is signed. @param mode the mode in which the file is to be opened @exception FileNotFoundException if the file could not be found @exception IOException if an I/O error has occurred @exception IllegalArgumentException If the mode argument is invalid @exception SecurityException if access to the file is denied by the SecurityManager
Class JarFile, constructor JarFile(String)

Creates a new JarFile to read from the specified file name. The JarFile will be verified if it is signed. @param name the name of the JAR file to be opened for reading @exception FileNotFoundExceptionIOException if the filean couldI/O not be founderror has occurred @exception IOExceptionSecurityException if anaccess I/Oto error hasthe file occurredis denied by the SecurityManager
Class JarFile, constructor JarFile(String, boolean)

Creates a new JarFile to read from the specified file name. @param name the name of the JAR file to be opened for reading @param verify whether or not to verify the JarFile if it is signed. @exception FileNotFoundExceptionIOException if the filean couldI/O not be founderror has occurred @exception IOExceptionSecurityException if anaccess I/Oto error hasthe file occurredis denied by the SecurityManager

Class JarInputStream

The JarInputStream class is used to read the contents of a JAR file from any input stream. It extends the class java.util.zip.ZipInputStream with support for reading an optional Manifest entry. The Manifest can be used to store meta-information about the JAR file and its entries. @author David Connelly @version 1.25 0228 12/0203/0001 @see Manifest @see java.util.zip.ZipInputStream @since 1.2

Class JarOutputStream

The JarOutputStream class is used to write the contents of a JAR file to any output stream. It extends the class java.util.zip.ZipOutputStream with support for writing an optional Manifest entry. The Manifest can be used to specify meta-information about the JAR file and its entries. @author David Connelly @version 1.19 0220 12/0203/0001 @see Manifest @see java.util.zip.ZipOutputStream @since 1.2

Class Manifest

The Manifest class is used to maintain Manifest entry names and their associated Attributes. There are main Manifest Attributes as well as per-entry Attributes. DocumentationFor information on the Manifest format can be found at :please see the Manifest format http://java.sun.com/products/jdk/1.2/docs/guide/jar/manifestspecification.html @author David Connelly @version 1.32 0238 12/0203/0001 @see Attributes @since 1.2
Class Manifest, Object clone()

Returns a shallow copy of this Manifest. The shallow copy is implemented as follows:
 public Object clone() { return new Manifest(this); } 
@return a shallow copy of this Manifest
Class Manifest, Attributes getAttributes(String)

Returns the Attributes for the specified entry name. This method is defined as:
 return (Attributes)getEntries().get(name) 
@param name entry name @return the Attributes for the specified entry name
Class Manifest, void write(OutputStream)

Writes the Manifest to the specified OutputStream. Attributes.Name.MANIFEST_VERSION must be set in MainAttributes prior to invoking this method. @param out the output stream @exception IOException if an I/O error has occurred @see #getMainAttributes