public class StringPropertyReplacement extends AbstractPropertyReplacement
mPropertyReplacementContext
Constructor and Description |
---|
StringPropertyReplacement(PropertyReplacementContext pPropertyReplacementContext)
Constructs this utility for use with the given property replacement context.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
replaceProperties(java.lang.String pString)
Replaces all properties within the given source with the key/values found in the PropertyReplacementContext.
|
hasReplacementToken, replace
public StringPropertyReplacement(PropertyReplacementContext pPropertyReplacementContext)
pPropertyReplacementContext
- the property replacement contextpFileData
- the source containing properties to replacepublic java.lang.String replaceProperties(java.lang.String pString) throws FlexCheckedException
pString
- the input source containing properties to replaceFlexCheckedException
- if a property replacement fails