public class UpgradeMsg extends Object
Modifier and Type | Field and Description |
---|---|
static String |
BUNDLE_CLASS_NAME
The name of the ResourceBundle class for upgrade messages.
|
Constructor and Description |
---|
UpgradeMsg() |
Modifier and Type | Method and Description |
---|---|
static String |
getString(String name)
Returns the message that maps to the given name.
|
static String |
getString(String name,
Object[] parameters)
Returns the String that maps to the given name, formatted with the
given
parameters . |
static void |
setLocale(Locale locale)
Sets the Locale that should be used for messages and formatting.
|
public static final String BUNDLE_CLASS_NAME
public static String getString(String name)
name
- the name of the message.public static String getString(String name, Object[] parameters)
parameters
.name
- the name of the message.parameters
- the list of paramters to use in the message.public static void setLocale(Locale locale)
locale
- the Locale to use.Copyright © 2023. All rights reserved.