JavaScript is disabled on your browser.
 
JavaScript is disabled on your browser.
 
 
  
 
 
 
 
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.
 
 
 
 
 
Methods in java.net  that return Attributes    
Modifier and Type 
Method 
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.
 
 
 
 
 
Constructors in java.util.jar  with parameters of type Attributes    
Constructor 
Description 
 
Attributes Attributes  attr)
Constructs a new Attributes object with the same attribute name-value
 mappings as in the specified Attributes.
 
 
 
 
 
 
 
 
 
JavaScript is disabled on your browser.
 
 
  
 
Report a bug or suggest an enhancement Java SE Documentation , which contains more detailed, developer-targeted descriptions with conceptual overviews, definitions of terms, workarounds, and working code examples.Copyright  © 1993, 2025, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065 USA.license terms  and the documentation redistribution policy . 
 
Scripting on this page tracks web page traffic, but does not change the content in any way.