org.opencms.util
Class CmsPropertyUtils

java.lang.Object
  extended byorg.opencms.util.CmsPropertyUtils

public final class CmsPropertyUtils
extends java.lang.Object

Utilities to access property files.

Since:
6.0.0
Version:
$Revision: 1.11 $
Author:
Alexander Kandzior

Method Summary
static org.apache.commons.collections.ExtendedProperties loadProperties(java.lang.String file)
          Loads an extended property file and performs escaping/unescaping of "," and "=" entries.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

loadProperties

public static org.apache.commons.collections.ExtendedProperties loadProperties(java.lang.String file)
                                                                        throws java.io.IOException
Loads an extended property file and performs escaping/unescaping of "," and "=" entries.

Parameters:
file - the file tp read the properties from
Returns:
the initialized extended properties
Throws:
java.io.IOException - in case of IO errors