Package org.codehaus.plexus.archiver.jar
Class Manifest.ExistingSection
- java.lang.Object
-
- org.codehaus.plexus.archiver.jar.Manifest.ExistingSection
-
-
Constructor Summary
Constructors Constructor Description ExistingSection(Attributes backingAttributes, String sectionName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
addAttributeAndCheck(Manifest.Attribute attribute)
void
addConfiguredAttribute(Manifest.Attribute attribute)
boolean
equals(Object rhs)
Manifest.ExistingAttribute
getAttribute(String attributeName)
String
getAttributeValue(String attributeName)
String
getName()
int
hashCode()
Iterator<String>
iterator()
void
removeAttribute(String attributeName)
-
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 Detail
-
ExistingSection
public ExistingSection(Attributes backingAttributes, String sectionName)
-
-
Method Detail
-
getAttribute
public Manifest.ExistingAttribute getAttribute(String attributeName)
-
getName
public String getName()
-
removeAttribute
public void removeAttribute(String attributeName)
-
addConfiguredAttribute
public void addConfiguredAttribute(Manifest.Attribute attribute) throws ManifestException
- Throws:
ManifestException
-
addAttributeAndCheck
public String addAttributeAndCheck(Manifest.Attribute attribute) throws ManifestException
- Throws:
ManifestException
-
-