com.springsource.bundlor.internal.propertysubstitution
Class PlaceholderManifestTemplateModifier
java.lang.Object
com.springsource.bundlor.internal.propertysubstitution.PlaceholderManifestTemplateModifier
- All Implemented Interfaces:
- ManifestTemplateModifier, TemplateHeaderReader
public class PlaceholderManifestTemplateModifier
- extends java.lang.Object
- implements ManifestTemplateModifier, TemplateHeaderReader
An implementation of ManifestTemplateModifier
that substitutes property values in for place holder values
Concurrent Semantics
Threadsafe
- Author:
- Ben Hale
Field Summary |
private java.util.Properties |
properties
|
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 manifestTemplate)
Modify the manifest template before the template 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 |
properties
private final java.util.Properties properties
PlaceholderManifestTemplateModifier
public PlaceholderManifestTemplateModifier(java.util.Properties properties)
modify
public void modify(com.springsource.util.parser.manifest.ManifestContents manifestTemplate)
- Description copied from interface:
ManifestTemplateModifier
- Modify the manifest template before the template is used to create the bundle manifest
- Specified by:
modify
in interface ManifestTemplateModifier
- Parameters:
manifestTemplate
- the template to modify
getTemplateOnlyHeaderNames
public java.util.List<java.lang.String> getTemplateOnlyHeaderNames()
- Description copied from interface:
TemplateHeaderReader
- Gets the list of header names required by this reader.
- Specified by:
getTemplateOnlyHeaderNames
in interface TemplateHeaderReader
- Returns:
- The list of header names.