Spec-Zone .ru
спецификации, руководства, описания, API
Please note that the specifications and other information contained herein are not final and are subject to change. The information is being made available to you solely for purpose of evaluation.

Java™ Platform
Standard Ed. 7

DRAFT ea-b118

Uses of Class
java.util.jar.Attributes

Packages that use Attributes
Package Description
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
Modifier and Type Method and Description
 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
Modifier and Type Method and Description
 Attributes JarEntry.getAttributes()
          Returns the Manifest Attributes for this entry, or null if none.
 Attributes Manifest.getAttributes(String name)
          Returns the Attributes for the specified entry name.
 Attributes Manifest.getMainAttributes()
          Returns the main Attributes for the Manifest.
 

Methods in java.util.jar that return types with arguments of type Attributes
Modifier and Type Method and Description
 Map<String,Attributes> Manifest.getEntries()
          Returns a Map of the entries contained in this Manifest.
 

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


Java™ Platform
Standard Ed. 7

DRAFT ea-b118

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright © 1993, 2010, Oracle Corporation. All rights reserved.
DRAFT ea-b118

Scripting on this page tracks web page traffic, but does not change the content in any way.