com.springsource.util.parser.manifest
Interface ManifestContents
- All Known Implementing Classes:
- StandardVisitor
public interface ManifestContents
Encapsulates the section and header name/value information parsed from a
manifest.
Concurrent Semantics
This class is thread safe.
- Author:
- Andy Clement
getVersion
java.lang.String getVersion()
- Returns:
- the version number discovered in the manifest
getMainAttributes
java.util.Map<java.lang.String,java.lang.String> getMainAttributes()
- Returns:
- the main attributes discovered in the manifest
getSectionNames
java.util.List<java.lang.String> getSectionNames()
- Returns:
- the section names discovered in the manifest
getAttributesForSection
java.util.Map<java.lang.String,java.lang.String> getAttributesForSection(java.lang.String sectionName)
- Parameters:
sectionName
-
- Returns:
- the attributes discovered for a particular section in the manifest