|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.velocity.texen.util.PropertiesUtil
A property utility class for the texen text/code generator Usually this class is only used from a Velocity context.
Constructor Summary | |
PropertiesUtil()
|
Method Summary | |
java.util.Properties |
load(java.lang.String propertiesFile)
Load properties from either a file in the templatePath if there is one or the classPath. |
protected java.util.Properties |
loadFromClassPath(java.lang.String propertiesFile)
Load a properties file from the classpath |
protected java.util.Properties |
loadFromTemplatePath(java.lang.String propertiesFile)
Load a properties file from the templatePath defined in the generator. |
Methods inherited from class java.lang.Object |
|
Constructor Detail |
public PropertiesUtil()
Method Detail |
public java.util.Properties load(java.lang.String propertiesFile)
propertiesFile
- the properties file to load through
either the templatePath or the classpath.protected java.util.Properties loadFromTemplatePath(java.lang.String propertiesFile)
propertiesFile
- the properties file to load. It must be
a relative pathname.protected java.util.Properties loadFromClassPath(java.lang.String propertiesFile)
propertiesFile
- the properties file to load.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |