Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

Copyright © 2006 Sun Microsystems, Inc. All rights reserved.

JSR 217 (Maintenance Release)

Uses of Class
java.util.jar.Attributes

Packages that use Attributes
java.net Provides the classes for implementing networking applications. 
java.util.jar Provides classes for reading and writing the JAR (Java ARchive) file format, which is based on the standard ZIP file format with an optional manifest file. 
 

Uses of Attributes in java.net
 

Methods in java.net that return Attributes
 Attributes JarURLConnection.getAttributes()
          Return the Attributes object for this connection if the URL for it points to a JAR file entry, null otherwise.
 Attributes JarURLConnection.getMainAttributes()
          Returns the main Attributes for the JAR file for this connection.
 

Uses of Attributes in java.util.jar
 

Methods in java.util.jar that return Attributes
 Attributes JarEntry.getAttributes()
          Returns the Manifest Attributes for this entry, or null if none.
 Attributes Manifest.getMainAttributes()
          Returns the main Attributes for the Manifest.
 Attributes Manifest.getAttributes(String name)
          Returns the Attributes for the specified entry name.
 

Constructors in java.util.jar with parameters of type Attributes
Attributes(Attributes attr)
          Constructs a new Attributes object with the same attribute name-value mappings as in the specified Attributes.
 


JSR 217 (Maintenance Release)

Copyright © 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

For more information, please consult the JSR 217 specification.