|
Evolvica Core API Version 0.6.2 Last Modified: June 29 2004 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.evolvica.util.Messages
Provides access to string resources. All string resources are held in a resource file and can be accessed via their appropriate key. A valid key looks like that: CallingClass.key. The calling class can be optionally omitted and is determined automatically if missing. Therefore getString( "MyClass.myKey" ) and getString( myKey ) will return the same values.
Method Summary | |
static java.lang.String |
getString(java.lang.String key)
Returns the value of the given key from the resource bundle. |
static java.lang.String |
getString(java.lang.String key,
java.lang.String subst0)
Returns the value of the given key from the resource bundle and substitutes %0 occurences. |
static java.lang.String |
getString(java.lang.String key,
java.lang.String[] subst)
Returns the value of the given key from the resource bundle and substitutes %index occurences. |
static java.lang.String |
getString(java.lang.String key,
java.lang.String subst0,
java.lang.String subst1)
Returns the value of the given key from the resource bundle and substitutes %0 and %1 occurences. |
static java.lang.String |
getString(java.lang.String key,
java.lang.String subst0,
java.lang.String subst1,
java.lang.String subst2)
Returns the value of the given key from the resource bundle and substitutes %0, %1 and %2 occurences. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static final java.lang.String getString(java.lang.String key)
key
- key
public static final java.lang.String getString(java.lang.String key, java.lang.String subst0)
key
- keysubst0
- substitution for %0
public static final java.lang.String getString(java.lang.String key, java.lang.String subst0, java.lang.String subst1)
key
- keysubst0
- substitution for %0subst1
- substitution for %1
public static final java.lang.String getString(java.lang.String key, java.lang.String subst0, java.lang.String subst1, java.lang.String subst2)
key
- keysubst0
- substitution for %0subst1
- substitution for %1subst2
- substitution for %2
public static final java.lang.String getString(java.lang.String key, java.lang.String[] subst)
key
- keysubst
- substitutions for %0, %1, and so on
|
Evolvica Core API Version 0.6.2 Last Modified: June 29 2004 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |