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, replacepublic StringPropertyReplacement(PropertyReplacementContext pPropertyReplacementContext)
pPropertyReplacementContext - the property replacement context
This is a fairly expensive operation. Do this once, and then use the StringPropertyReplacement many times.public java.lang.String replaceProperties(java.lang.String pString)
throws FlexCheckedException
pString - the input source containing properties to replaceFlexCheckedException - if a property replacement fails