ehcache

net.sf.ehcache.util
Class PropertyUtil

java.lang.Object
  extended bynet.sf.ehcache.util.PropertyUtil

public final class PropertyUtil
extends java.lang.Object

Property utilities.

Version:
$Id: PropertyUtil.java 52 2006-04-24 14:50:03Z gregluck $
Author:
Greg Luck

Method Summary
static java.lang.String extractAndLogProperty(java.lang.String name, java.util.Properties properties)
           
static java.util.Properties parseProperties(java.lang.String propertiesString)
          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

extractAndLogProperty

public static java.lang.String extractAndLogProperty(java.lang.String name,
                                                     java.util.Properties properties)
Returns:
null if their is no property for the key, or their are no properties

parseProperties

public static java.util.Properties parseProperties(java.lang.String propertiesString)
Parse properties supplied as a comma separated list into a Properties object

Parameters:
propertiesString - a comma separated list such as "propertyA=s, propertyB=t"
Returns:
a newly constructed properties object

ehcache

true