public class Resources
extends java.lang.Object
All methods declared on this class are static. This class cannot be instantiated.
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String | doubleApostrophy(java.lang.String text)
Inserts an additional apostrophe if the message text contains an apostrophe.
|
static java.lang.String | format(java.lang.String key, java.lang.String arg)
Should be used to get a text string from a resource bundle.
|
static java.lang.String | format(java.lang.String key, java.lang.String[] args)
Should be used to get a text string from a resource bundle.
|
static com.ibm.icu.util.UResourceBundle[] | getBundles()
Returns the resource bundle used for displayable strings.
|
static java.lang.String | getMessageString(java.lang.String inString, java.lang.String className, java.lang.String methodName, java.lang.Object[] objects)
Returns the formatted message string from the resource bundle.
|
static java.lang.String | getString(java.lang.String key)
Should be used to get a text string from a resource bundle.
|
public static final java.lang.String COPYRIGHT
public static com.ibm.icu.util.UResourceBundle[] getBundles()
Note that several static convenience methods are also provided on this class for directly accessing resources in this bundle.
public static java.lang.String format(java.lang.String key, java.lang.String[] args)
public static java.lang.String format(java.lang.String key, java.lang.String arg)
public static java.lang.String getString(java.lang.String key)
public static java.lang.String doubleApostrophy(java.lang.String text)
public static java.lang.String getMessageString(java.lang.String inString, java.lang.String className, java.lang.String methodName, java.lang.Object[] objects)