|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.imageterrier.basictools.ApplicationSetupUtils
public class ApplicationSetupUtils
Utility functions for getting and setting things
in ApplicationSetup.
| Constructor Summary | |
|---|---|
ApplicationSetupUtils()
|
|
| Method Summary | |
|---|---|
static double |
getProperty(String key,
double defaultValue)
Returns the value for the specified property, given a default value, in case the property was not defined during the initialization of the system. |
static float |
getProperty(String key,
float defaultValue)
Returns the value for the specified property, given a default value, in case the property was not defined during the initialization of the system. |
static int |
getProperty(String key,
int defaultValue)
Returns the value for the specified property, given a default value, in case the property was not defined during the initialization of the system. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ApplicationSetupUtils()
| Method Detail |
|---|
public static int getProperty(String key,
int defaultValue)
key - The property to be returneddefaultValue - The default value used, in case it is not defined
public static float getProperty(String key,
float defaultValue)
key - The property to be returneddefaultValue - The default value used, in case it is not defined
public static double getProperty(String key,
double defaultValue)
key - The property to be returneddefaultValue - The default value used, in case it is not defined
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||