public class Configuration extends Object
ApplicationInstance to be properly
initialised.
Copyright 2006 Sans Pareil Technologies, Inc.
| Modifier and Type | Method and Description |
|---|---|
static int |
getInt(Object source,
String key)
Returns configured integer value for the key for the specified
source object.
|
static int |
getInt(String key)
Returns configured integer value for the key.
|
static String |
getString(Class source,
String key)
Returns localised configured text for the key for the specified
source class.
|
static String |
getString(Object source,
String key)
Returns localised configured text for the key for the specified
source object.
|
static String |
getString(String key)
Returns localised configured text for the key.
|
public static String getString(Object source, String key)
source - The object for which the localised text is to be
retrieved.key - The key of the text to be returnedgetString( Class, String )public static String getString(Class source, String key)
source - The class for which the localised text is to be
retrieved.key - The key of the text to be returnedgetString( String )public static String getString(String key)
key - The key of the text to be returnedpublic static int getInt(Object source, String key)
source - The object whose configured localised value is
to be retrieved.key - The key of the integer value to be returnedgetInt( String )public static int getInt(String key)
key - The key of the integer value to be returned