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 StringaddAttributeAndCheck(Manifest.Attribute attribute)voidaddConfiguredAttribute(Manifest.Attribute attribute)booleanequals(Object rhs)Manifest.ExistingAttributegetAttribute(String attributeName)StringgetAttributeValue(String attributeName)StringgetName()inthashCode()Iterator<String>iterator()voidremoveAttribute(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
-
-