|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.townleyenterprises.common.PropertyParser
This is a static utility class to perform parsing of property values to primitive types.
| Constructor Summary | |
PropertyParser()
The default constructor assumes the properties to parse come from the System class. |
|
PropertyParser(java.util.Properties props)
This constructor takes the properties containing the value to parse. |
|
| Method Summary | |
boolean |
booleanValue(java.lang.String name)
This method is a more forgiving parser for boolean values. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PropertyParser()
public PropertyParser(java.util.Properties props)
props - the properties| Method Detail |
public boolean booleanValue(java.lang.String name)
'y' or
't' as true and anything else as false.
name - the name of the property to find
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||