|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.ehcache.util.PropertyUtil
public final class PropertyUtil
Property utilities.
Method Summary | |
---|---|
static String |
extractAndLogProperty(String name,
Map properties)
|
static String |
extractAndLogProperty(String name,
Properties properties)
|
static boolean |
parseBoolean(String value)
Null safe, parser of boolean from a String |
static Properties |
parseProperties(String propertiesString,
String propertySeparator)
Parse properties supplied as a comma separated list into a Properties object |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static String extractAndLogProperty(String name, Properties properties)
public static String extractAndLogProperty(String name, Map properties)
public static Properties parseProperties(String propertiesString, String propertySeparator)
Properties
object
propertiesString
- a comma separated list such as "propertyA=s, propertyB=t"
public static boolean parseBoolean(String value)
value
-
|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |