| java.lang.Object org.claros.commons.configuration.PropertyFile
PropertyFile | public class PropertyFile (Code) | | author: Umut Gökbayrak |
Method Summary | |
public static Configuration | getConfiguration(String fileName) Reads a xml file or properties file and returns it. |
getConfiguration | public static Configuration getConfiguration(String fileName) throws ConfigurationException, SystemException(Code) | | Reads a xml file or properties file and returns it.
You must define the fileName relative to the WEB-INF directory.
For example /config/config.xml means /WEB-INF/config/config.xml
from the web source directory.
Parameters: fileName - Configuration throws: ConfigurationException - |
|
|