|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.springsource.bundlor.support.contributors.IgnoredExistingHeadersManifestModifier
public final class IgnoredExistingHeadersManifestModifier
An analyzer that removes existing headers from the input manifest before it is used to build the bundle manifest.
Concurrent Semantics
Field Summary | |
---|---|
private static java.lang.String |
ATTR_IGNORED_EXISTING_HEADERS
|
private java.util.List<java.lang.String> |
ignoredExistingHeaders
|
private java.lang.Object |
ignoredExistingHeadersMonitor
|
Constructor Summary | |
---|---|
IgnoredExistingHeadersManifestModifier()
|
Method Summary | |
---|---|
java.util.List<java.lang.String> |
getTemplateOnlyHeaderNames()
Gets the list of header names required by this reader. |
void |
modify(com.springsource.util.parser.manifest.ManifestContents manifest)
Modify the JAR manifest before it is used to create the bundle manifest |
private java.util.List<com.springsource.util.osgi.manifest.parse.HeaderDeclaration> |
parseTemplate(java.lang.String template)
|
void |
readJarManifest(com.springsource.util.parser.manifest.ManifestContents manifest)
Read the source JAR's manifest before it is used to create the bundle manifest |
void |
readManifestTemplate(com.springsource.util.parser.manifest.ManifestContents manifestTemplate)
Read the manifest template before it is used to create the bundle manifest |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final java.lang.String ATTR_IGNORED_EXISTING_HEADERS
private final java.util.List<java.lang.String> ignoredExistingHeaders
private final java.lang.Object ignoredExistingHeadersMonitor
Constructor Detail |
---|
public IgnoredExistingHeadersManifestModifier()
Method Detail |
---|
public void readJarManifest(com.springsource.util.parser.manifest.ManifestContents manifest)
readJarManifest
in interface ManifestReader
manifest
- the JAR manifestpublic void readManifestTemplate(com.springsource.util.parser.manifest.ManifestContents manifestTemplate)
readManifestTemplate
in interface ManifestReader
manifestTemplate
- the manifest templatepublic void modify(com.springsource.util.parser.manifest.ManifestContents manifest)
modify
in interface ManifestModifier
manifest
- the manifest to modifypublic java.util.List<java.lang.String> getTemplateOnlyHeaderNames()
getTemplateOnlyHeaderNames
in interface TemplateHeaderReader
private java.util.List<com.springsource.util.osgi.manifest.parse.HeaderDeclaration> parseTemplate(java.lang.String template)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |