|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.uni.leipzig.IR15.Support.Configuration
public class Configuration
Singleton class to load a properties file by filename and read properties by property name.
Method Summary | |
---|---|
static Configuration |
getInstance(java.lang.String file)
Returns a instance to the configuration file. |
java.lang.Integer |
getPropertyAsInteger(java.lang.String property)
Get a integer property from the configuration. |
java.lang.String |
getPropertyAsString(java.lang.String property)
Get a string property from the configuration. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public java.lang.Integer getPropertyAsInteger(java.lang.String property)
property
-
public java.lang.String getPropertyAsString(java.lang.String property)
property
-
public static Configuration getInstance(java.lang.String file)
file
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |