unbbayes.util
Class ApplicationPropertyHolder
java.lang.Object
unbbayes.util.ApplicationPropertyHolder
- All Implemented Interfaces:
- Serializable
public class ApplicationPropertyHolder
- extends Object
- implements Serializable
- Author:
- Shou Matsumoto
A static holder for application.property file.
The default place to look for is a file named "application.property"
at classloader path. If not found, it will also search the src/main/resources
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ApplicationPropertyHolder
public ApplicationPropertyHolder()
getProperty
public static Properties getProperty()
- Returns:
- the property
setProperty
public static void setProperty(Properties property)
- Parameters:
property
- the property to set
getApplicationPropertyPath
protected static String getApplicationPropertyPath()
- Returns:
- the applicationPropertyPath
setApplicationPropertyPath
protected static void setApplicationPropertyPath(String applicationPropertyPath)
- Parameters:
applicationPropertyPath
- the applicationPropertyPath to set
Copyright © 2001-2010 University of Brasilia - UnB. All Rights Reserved.