unbbayes.util
Class ApplicationPropertyHolder

java.lang.Object
  extended by 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

Constructor Summary
ApplicationPropertyHolder()
           
 
Method Summary
protected static String getApplicationPropertyPath()
           
static Properties getProperty()
           
protected static void setApplicationPropertyPath(String applicationPropertyPath)
           
static void setProperty(Properties property)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplicationPropertyHolder

public ApplicationPropertyHolder()
Method Detail

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.