|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.uniba.wiai.lspi.chord.service.PropertiesLoader
public final class PropertiesLoader
This class is responsible for loading all properties of a given property file
and for setting them as Java properties for this JVM. Unless otherwise stated
this class tries to load the property file named
STANDARD_PROPERTY_FILE
which must be located in the classpath. If
another file should be loaded, its file name has to be set as value for
property PROPERTY_WHERE_TO_FIND_PROPERTY_FILE
.
Field Summary | |
---|---|
static java.lang.String |
PROPERTY_WHERE_TO_FIND_PROPERTY_FILE
Name of property which has to be set for loading a specific property file. |
static java.lang.String |
STANDARD_PROPERTY_FILE
File name of property file which is loaded, if no other file is specified. |
Method Summary | |
---|---|
static boolean |
isLoaded()
|
static void |
loadPropertyFile()
Reads the properties from property file. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String PROPERTY_WHERE_TO_FIND_PROPERTY_FILE
public static final java.lang.String STANDARD_PROPERTY_FILE
Method Detail |
---|
public static void loadPropertyFile()
public static boolean isLoaded()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |