Bundle Class
- public class Bundle
extends Object
Convenience class for dealing with resource bundles.
-
Hierarchy
-
Object
Bundle
Methods from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getErrorString(String, Object[]) Method
public static String getErrorString(String aKey,
Object[] args)
getErrorString(String) Method
public static String getErrorString(String aKey)
getString(String) Method
public static String getString(String aKey)
Returns the string specified by aKey from the errors.properties bundle.
getString(String, Object) Method
public static String getString(String aKey,
Object arg)
Returns the string specified by aKey from the errors.properties bundle.
Parameters
-
aKey
- The key for the message pattern in the bundle.
-
arg
- The arg to use in the message format.
getString(String, Object[]) Method
public static String getString(String aKey,
Object[] args)
Returns the string specified by aKey from the errors.properties bundle.
Parameters
-
aKey
- The key for the message pattern in the bundle.
-
args
- The args to use in the message format.