java.lang.Object | |
↳ | java.util.jar.Manifest |
The Manifest
class is used to obtain attribute information for a
JarFile
and its entries.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new
Manifest instance. | |||||||||||
Creates a new
Manifest instance using the attributes obtained
from the input stream. | |||||||||||
Creates a new
Manifest instance. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Resets the both the main attributes as well as the entry attributes
associated with this
Manifest . | |||||||||||
Creates a copy of this
Manifest . | |||||||||||
Determines if the receiver is equal to the parameter object.
| |||||||||||
Returns the
Attributes associated with the parameter entry
name . | |||||||||||
Returns a map containing the
Attributes for each entry in the
Manifest . | |||||||||||
Returns the main
Attributes of the JarFile . | |||||||||||
Returns the hash code for this instance.
| |||||||||||
Constructs a new
Manifest instance obtaining attribute
information from the specified input stream. | |||||||||||
Writes out the attribute information of the receiver to the specified
OutputStream . |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object
|
Creates a new Manifest
instance.
Creates a new Manifest
instance using the attributes obtained
from the input stream.
is | InputStream to parse for attributes. |
---|
IOException | if an IO error occurs while creating this Manifest |
---|
Creates a new Manifest
instance. The new instance will have the
same attributes as those found in the parameter Manifest
.
man | Manifest instance to obtain attributes from. |
---|
Resets the both the main attributes as well as the entry attributes
associated with this Manifest
.
Creates a copy of this Manifest
. The returned Manifest
will equal the Manifest
from which it was cloned.
Determines if the receiver is equal to the parameter object. Two Manifest
s are equal if they have identical main attributes as well as
identical entry attributes.
o | the object to compare against. |
---|
true
if the manifests are equal, false
otherwiseReturns the Attributes
associated with the parameter entry
name
.
name | the name of the entry to obtain Attributes from. |
---|
null
if the entry does
not exist.Returns a map containing the Attributes
for each entry in the
Manifest
.
Returns the main Attributes
of the JarFile
.
Attributes
associated with the source JarFile
.Returns the hash code for this instance.
Manifest
's hashCode.Constructs a new Manifest
instance obtaining attribute
information from the specified input stream.
is | The InputStream to read from. |
---|
IOException | If an error occurs reading the Manifest . |
---|
Writes out the attribute information of the receiver to the specified
OutputStream
.
os | The OutputStream to write to. |
---|
IOException | If an error occurs writing the Manifest . |
---|