public final class PropertiesInterpolator extends Object
| Constructor and Description | 
|---|
| PropertiesInterpolator(Properties props)Create an interpolator, given a set of properties to
 interpolate inside incoming string data. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | doNotInterpolate(String verbatimVariable)Mark ${verbatimVariable} as a variable name that should not be interpolated | 
| String | interpolate(String input)Replace any ${names} with their ${values}, except in # lines | 
public PropertiesInterpolator(Properties props)
props - the name=value pairs.public String interpolate(String input)
input - the input string, can be nullpublic void doNotInterpolate(String verbatimVariable)
verbatimVariable - a variable not to be interpolated; should be passed through as ${verbatimVariable}Copyright © 2019 DevZendo.org. All rights reserved.