|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectBundle
public class Bundle
Convenience class for dealing with resource bundles.
Method Summary | |
---|---|
static String |
getErrorString(String aKey)
|
static String |
getErrorString(String aKey,
Object[] args)
|
static String |
getString(String aKey)
Returns the string specified by aKey from the errors.properties bundle. |
static String |
getString(String aKey,
Object arg)
Returns the string specified by aKey from the errors.properties bundle. |
static String |
getString(String aKey,
Object[] args)
Returns the string specified by aKey from the errors.properties bundle. |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static String getString(String aKey)
public static String getString(String aKey, Object arg)
aKey
- The key for the message pattern in the bundle.arg
- The arg to use in the message format.public static String getString(String aKey, Object[] args)
aKey
- The key for the message pattern in the bundle.args
- The args to use in the message format.public static String getErrorString(String aKey, Object[] args)
public static String getErrorString(String aKey)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |