|
BeanIO 2.0.4 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.beanio.internal.util.StringUtil
public final class StringUtil
Utility class for working with Strings.
| Nested Class Summary | |
|---|---|
static interface |
StringUtil.PropertySource
A source of property values. |
| Method Summary | |
|---|---|
static String |
doPropertySubstitution(String text,
Properties properties)
Substitutes ${key,default} place holders with their property values. |
static String |
doPropertySubstitution(String text,
StringUtil.PropertySource properties)
Substitutes ${key,default} place holders with their property values. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static String doPropertySubstitution(String text,
Properties properties)
throws IllegalArgumentException
text - the template textproperties - the user provided property values
IllegalArgumentException - if a property value does not exist
public static String doPropertySubstitution(String text,
StringUtil.PropertySource properties)
throws IllegalArgumentException
text - the template textproperties - the user provided property values
IllegalArgumentException - if a property value does not exist
|
BeanIO 2.0.4 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||