org.apache.velocity.texen.util
public class PropertiesUtil extends Object
Constructor and Description |
---|
PropertiesUtil() |
Modifier and Type | Method and Description |
---|---|
Properties |
load(String propertiesFile)
Load properties from either a file in the templatePath if there
is one or the classPath.
|
protected Properties |
loadFromClassPath(String propertiesName)
Load a properties file from the classpath
|
protected Properties |
loadFromTemplatePath(String propertiesFile)
Load a properties file from the templatePath defined in the
generator.
|
public Properties load(String propertiesFile)
propertiesFile
- the properties file to load through
either the templatePath or the classpath.protected Properties loadFromTemplatePath(String propertiesFile) throws Exception
propertiesFile
- the properties file to load. It must be
a relative pathname.Exception
protected Properties loadFromClassPath(String propertiesName) throws Exception
propertiesName
- the properties file to load.Exception
Copyright © 2000-2013 The Apache Software Foundation. All Rights Reserved.