public class PropertiesExtensionProcessorPlugin extends ExtensionProcessorPlugin
ExtensionProcessorPlugin based on a properties file. Property
 values which appear to be file URLs--which start with "file:"--are resolved
 relative to the property file.| Constructor and Description | 
|---|
PropertiesExtensionProcessorPlugin(java.io.File file)  | 
| Modifier and Type | Method and Description | 
|---|---|
java.lang.String | 
expandValue(ExtensionProcessorContext context,
           java.lang.String macroName)
Expands a macro encountered while processing an extension manifest. 
 | 
java.util.Set<java.lang.String> | 
getSupportedMacros(ExtensionProcessorContext context)
Returns a Set of macro names which are supported in the
 specified extension processing context. 
 | 
java.lang.String | 
toString()  | 
public PropertiesExtensionProcessorPlugin(java.io.File file)
public java.util.Set<java.lang.String> getSupportedMacros(ExtensionProcessorContext context)
ExtensionProcessorPluginExtension manifests can contain macro usages in any attribute value or text node. The syntax of a macro usage is
${macroname}.An ExtensionProcessorPlugin may provide logic to expand macros in the extension manifest. The plugin should return a collection of supported macro names from this method.
 
 While processing manifest files, the 
 ExtensionProcessorPlugin.expandValue(ExtensionProcessorContext,String) method will be 
 called for each occurrence of macros supported by this plugin.
Macro names ending with a colon (:) are macro namespaces. These can be used to implement dynamic macros, such as sysprop:some.property.
This implementation returns an empty set. Will never be null.
getSupportedMacros in class ExtensionProcessorPlugincontext - the extension processing context.public java.lang.String expandValue(ExtensionProcessorContext context, java.lang.String macroName)
ExtensionProcessorPluginYou should take care to optimize the performance of this method, since it will be called every time a macro encountered in the extension manifest needs to be expanded.
This implementation returns null.
expandValue in class ExtensionProcessorPlugincontext - the extension processing context. Will never be null.macroName - the name of the macro to expand.public java.lang.String toString()
toString in class java.lang.Object