|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.arjuna.common.util.propertyservice.PropertiesFactory
public class PropertiesFactory
This class loads properties according to the file location, substitution and override rules described in the docs.
Constructor Summary | |
---|---|
PropertiesFactory()
|
Method Summary | |
---|---|
static java.util.Properties |
getDefaultProperties()
Returns the systems default properties, as read from the configuration file. |
static java.util.Properties |
getPropertiesFromFile(java.lang.String propertyFileName)
Returns the config properties read from a specified location. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PropertiesFactory()
Method Detail |
---|
public static java.util.Properties getDefaultProperties()
public static java.util.Properties getPropertiesFromFile(java.lang.String propertyFileName)
propertyFileName
- the file name. If relative, this is located using the FileLocator algorithm.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |