|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.figure8.join.util.AntHelper
public class AntHelper
Helper class that provides Ant style constructions convenient methods such
as ${xxx} properties replacing in strings.
| Constructor Summary | |
|---|---|
AntHelper()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
replaceProperties(java.lang.String value,
java.util.Map keys)
Replaces ${xxx} Ant style constructions in the given value
with the string value of the corresponding data types. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AntHelper()
| Method Detail |
|---|
public static java.lang.String replaceProperties(java.lang.String value,
java.util.Map keys)
throws java.text.ParseException
${xxx} Ant style constructions in the given value
with the string value of the corresponding data types.
value - The string to be scanned for property references. May be
null, in which case this method returns immediately with no effect.keys - Mapping (String to String) of property names to their values.
Must not be null.
null
if the original string is null.
java.text.ParseException - if the string contains an opening ${
without a closing }
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||