sunlabs.brazil.properties
Class SubstPropsHandler.Resub
public static
class
SubstPropsHandler.Resub
extends Object
implements SubstPropsHandler.Convert
Do a regexp substitution on a value.
This takes the following initialization parameters:
- match
- A Regular expression that matches the string value.
- sub
- The regular expression substitution to perform.
All occurances of "match" are substututed.
public boolean init(String prefix, Properties p)
public String map(String value)