org.apache.velocity.texen.util
public class PropertiesUtil extends Object
Version: $Id: PropertiesUtil.java,v 1.9.8.1 2004/03/03 23:23:07 geirm Exp $
Method Summary | |
---|---|
Properties | load(String propertiesFile)
Load properties from either a file in the templatePath if there
is one or the classPath.
|
protected Properties | loadFromClassPath(String propertiesFile)
Load a properties file from the classpath
|
protected Properties | loadFromTemplatePath(String propertiesFile)
Load a properties file from the templatePath defined in the
generator. |
Parameters: propertiesFile the properties file to load through either the templatePath or the classpath.
Returns: a properties instance filled with the properties found in the file or an empty instance if no file was found.
Parameters: propertiesFile the properties file to load.
Returns: a properties instance loaded with the properties from the file. If no file can be found it returns an empty instance.
Parameters: propertiesFile the properties file to load. It must be a relative pathname.
Returns: a properties instance loaded with the properties from the file. If no file can be found it returns an empty instance.