Package org.codehaus.plexus.archiver.jar
Class Manifest.ExistingAttribute
java.lang.Object
org.codehaus.plexus.archiver.jar.Manifest.BaseAttribute
org.codehaus.plexus.archiver.jar.Manifest.Attribute
org.codehaus.plexus.archiver.jar.Manifest.ExistingAttribute
-
Field Summary
Fields inherited from class org.codehaus.plexus.archiver.jar.Manifest.BaseAttribute
name
-
Constructor Summary
-
Method Summary
Methods inherited from class org.codehaus.plexus.archiver.jar.Manifest.Attribute
equals, hashCode
Methods inherited from class org.codehaus.plexus.archiver.jar.Manifest.BaseAttribute
getName
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
ExistingAttribute
-
-
Method Details
-
iterator
-
setName
Description copied from class:Manifest.Attribute
Set the Attribute's name; required- Overrides:
setName
in classManifest.Attribute
- Parameters:
name
- the attribute's name
-
getKey
Description copied from class:Manifest.Attribute
Get the attribute's Key - its name in lower case.- Overrides:
getKey
in classManifest.Attribute
- Returns:
- the attribute's key.
-
setValue
Description copied from class:Manifest.Attribute
Set the Attribute's value; required- Overrides:
setValue
in classManifest.Attribute
- Parameters:
value
- the attribute's value
-
getValue
Description copied from class:Manifest.Attribute
Get the Attribute's value.- Overrides:
getValue
in classManifest.Attribute
- Returns:
- the attribute's value.
-
addValue
Description copied from class:Manifest.Attribute
Add a new value to this attribute - making it multivalued.- Overrides:
addValue
in classManifest.Attribute
- Parameters:
value
- the attribute's additional value
-