org.codehaus.plexus.archiver.jar
Class Manifest.ExistingSection

java.lang.Object
  extended by org.codehaus.plexus.archiver.jar.Manifest.ExistingSection
All Implemented Interfaces:
Iterable<String>
Enclosing class:
Manifest

public class Manifest.ExistingSection
extends Object
implements Iterable<String>


Constructor Summary
Manifest.ExistingSection(Attributes backingAttributes, String sectionName)
           
 
Method Summary
 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
 

Constructor Detail

Manifest.ExistingSection

public Manifest.ExistingSection(Attributes backingAttributes,
                                String sectionName)
Method Detail

iterator

public Iterator<String> iterator()
Specified by:
iterator in interface Iterable<String>

getAttribute

public Manifest.ExistingAttribute getAttribute(String attributeName)

getName

public String getName()

getAttributeValue

public String getAttributeValue(String attributeName)

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object rhs)
Overrides:
equals in class Object


Copyright © 2008-2012 Sonatype, Inc.. All Rights Reserved.