public class PropertiesReplacer extends Object
${name}
).Constructor and Description |
---|
PropertiesReplacer(Map<String,String> properties) |
PropertiesReplacer(Map<String,String> properties,
String beginMark,
String endMark) |
public PropertiesReplacer(Map<String,String> properties, String beginMark, String endMark)
public PropertiesReplacer(Map<String,String> properties)
public String replaceProperties(String source)
${name}
by the value of the property.source
- String the string to interpret (or null
)IllegalArgumentException
- if the source string references an inexistent propertyCopyright © 2004–2014. All rights reserved.