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.
Method Summary
booleaninit(String prefix, Properties p)
Stringmap(String value)

Method Detail

init

public boolean init(String prefix, Properties p)

map

public String map(String value)