at.spardat.properties
Class PropertyData
java.lang.Object
at.spardat.properties.PropertyData
- public class PropertyData
- extends java.lang.Object
Encapsulates the property data and attribute information.
Properties are reloaded during access to a property. No seperate thread is used.
define the reload interval by setting the property "at.spardat.properties.ReloadInterval=seconds"
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertyData
public PropertyData()
PropertyData
public PropertyData(java.lang.ClassLoader classLoader)
getCurrentLoadPath
public java.lang.String getCurrentLoadPath()
addToLoadPathStack
public void addToLoadPathStack(java.lang.String path)
removeFromLoadPathStack
public void removeFromLoadPathStack()
getProcessor
public AbstractPropertyProcessor getProcessor()
getClassLoader
public java.lang.ClassLoader getClassLoader()
getAttributes
public PropertyAttributes getAttributes()
getPropertyOrSystemProperty
public java.lang.String getPropertyOrSystemProperty(java.lang.String key)
getProperty
public java.lang.String getProperty(java.lang.String key)
getObjectProperty
public java.lang.Object getObjectProperty(java.lang.String key)
setObjectProperty
public void setObjectProperty(java.lang.String key,
java.lang.Object value)
setProperty
public void setProperty(java.lang.String key,
java.lang.String value)
clearProperties
public void clearProperties()
reload
public final void reload()
- reloads all properties
forceReload
public final void forceReload()
- forces a reload
getInstance
public static PropertyData getInstance()
reset
public static void reset()
getPropertiesMap
public java.util.Map getPropertiesMap()