Constructor and Description |
---|
Messages() |
Modifier and Type | Method and Description |
---|---|
static String |
getMessage(String key)
Get a message from resource.properties from the package of the given object.
|
static String |
getMessage(String key,
String arg0)
Get a message from resource.properties from the package of the given object.
|
static String |
getMessage(String key,
String[] args)
Get a message from resource.properties from the package of the given object.
|
static String |
getMessage(String key,
String arg0,
String arg1)
Get a message from resource.properties from the package of the given object.
|
static String |
getMessage(String key,
String arg0,
String arg1,
String arg2)
Get a message from resource.properties from the package of the given object.
|
static String |
getMessage(String key,
String arg0,
String arg1,
String arg2,
String arg3)
Get a message from resource.properties from the package of the given object.
|
static String |
getMessage(String key,
String arg0,
String arg1,
String arg2,
String arg3,
String arg4)
Get a message from resource.properties from the package of the given object.
|
static MessageBundle |
getMessageBundle() |
static ResourceBundle |
getResourceBundle() |
public static String getMessage(String key) throws MissingResourceException
caller
- The calling object, used to get the package name and class loaderlocale
- The localekey
- The resource keyMissingResourceException
public static String getMessage(String key, String arg0) throws MissingResourceException
caller
- The calling object, used to get the package name and class loaderlocale
- The localekey
- The resource keyarg0
- The argument to place in variable {0}MissingResourceException
public static String getMessage(String key, String arg0, String arg1) throws MissingResourceException
caller
- The calling object, used to get the package name and class loaderlocale
- The localekey
- The resource keyarg0
- The argument to place in variable {0}arg1
- The argument to place in variable {1}MissingResourceException
public static String getMessage(String key, String arg0, String arg1, String arg2) throws MissingResourceException
caller
- The calling object, used to get the package name and class loaderlocale
- The localekey
- The resource keyarg0
- The argument to place in variable {0}arg1
- The argument to place in variable {1}arg2
- The argument to place in variable {2}MissingResourceException
public static String getMessage(String key, String arg0, String arg1, String arg2, String arg3) throws MissingResourceException
caller
- The calling object, used to get the package name and class loaderlocale
- The localekey
- The resource keyarg0
- The argument to place in variable {0}arg1
- The argument to place in variable {1}arg2
- The argument to place in variable {2}arg3
- The argument to place in variable {3}MissingResourceException
public static String getMessage(String key, String arg0, String arg1, String arg2, String arg3, String arg4) throws MissingResourceException
caller
- The calling object, used to get the package name and class loaderlocale
- The localekey
- The resource keyarg0
- The argument to place in variable {0}arg1
- The argument to place in variable {1}arg2
- The argument to place in variable {2}arg3
- The argument to place in variable {3}arg4
- The argument to place in variable {4}MissingResourceException
public static String getMessage(String key, String[] args) throws MissingResourceException
caller
- The calling object, used to get the package name and class loaderlocale
- The localekey
- The resource keyarray
- An array of objects to place in corresponding variablesMissingResourceException
public static ResourceBundle getResourceBundle()
public static MessageBundle getMessageBundle()
Copyright © The Apache Software Foundation. All Rights Reserved.