net.sf.ehcache.util
public final class PropertyUtil extends Object
Version: $Id: PropertyUtil.java 97 2006-05-28 10:10:25Z gregluck $
Method Summary | |
---|---|
static String | extractAndLogProperty(String name, Properties properties) |
static String | extractAndLogProperty(String name, Map properties) |
static boolean | parseBoolean(String value)
Null safe, parser of boolean from a String |
static Properties | parseProperties(String propertiesString)
Parse properties supplied as a comma separated list into a Properties object |
Returns: null if their is no property for the key, or their are no properties
Returns: null if their is no property for the key, or their are no properties
Parameters: value
Returns: true if non null and case insensitively matches true
Properties
objectParameters: propertiesString a comma separated list such as "propertyA=s, propertyB=t"
Returns: a newly constructed properties object