|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.keridwen.core.settings.ApplicationSettings
public class ApplicationSettings
Keridwen's project
General application settings tool.
Constructor Summary | |
---|---|
ApplicationSettings()
Default constructor. |
Method Summary | |
---|---|
static String |
getProperty(String key)
Get the property of the given key-name as a String. |
static File |
getPropertyAsFile(String key)
Get the property of the given key-name as a File, if file exists, null otherwise. |
static int |
getPropertyAsInt(String key)
Get the property of the given key-name as a simple int, if the cast is possible, NumberFormatException exception otherwise. |
static void |
setInputFile(File inputFile)
|
static void |
setSystemPropertyName(String name)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ApplicationSettings()
Method Detail |
---|
public static void setSystemPropertyName(String name)
public static void setInputFile(File inputFile)
public static String getProperty(String key)
key
- - keyname of the property
public static File getPropertyAsFile(String key)
key
- - keyname of the property.
public static int getPropertyAsInt(String key)
key
- - keyname of the property.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |