|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.oddjob.arooa.PropertyHelper
Used for replacing properties in strings.
Based on an original by Costin Manolache.
| Constructor Summary | |
PropertyHelper(java.lang.String value)
Default constructor. |
|
| Method Summary | |
java.lang.String |
getValue()
Get the original value ${ and all. |
boolean |
isConstant()
Is the property constant. |
java.lang.Object |
replaceProperties(RegistryLookup registry,
boolean strictSubstitution)
Replaces ${xxx} style constructions in the given value
with the string value of the corresponding data types. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public PropertyHelper(java.lang.String value)
| Method Detail |
public java.lang.String getValue()
public java.lang.Object replaceProperties(RegistryLookup registry,
boolean strictSubstitution)
throws ArooaException
${xxx} style constructions in the given value
with the string value of the corresponding data types.
null if the original string is null.
ArooaException - if the string contains an opening
${ without a closing
}public boolean isConstant()
public java.lang.String toString()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||