getMessage
public static String getMessage(String key)
throws MissingResourceException
Get a message from resource.properties from the package of the given object.
key
- The resource key
- The formatted message
getMessage
public static String getMessage(String key,
String arg0)
throws MissingResourceException
Get a message from resource.properties from the package of the given object.
key
- The resource keyarg0
- The argument to place in variable {0}
- The formatted message
getMessage
public static String getMessage(String key,
String arg0,
String arg1)
throws MissingResourceException
Get a message from resource.properties from the package of the given object.
key
- The resource keyarg0
- The argument to place in variable {0}arg1
- The argument to place in variable {1}
- The formatted message
getMessage
public static String getMessage(String key,
String arg0,
String arg1,
String arg2)
throws MissingResourceException
Get a message from resource.properties from the package of the given object.
key
- 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}
- The formatted message
getMessage
public static String getMessage(String key,
String arg0,
String arg1,
String arg2,
String arg3)
throws MissingResourceException
Get a message from resource.properties from the package of the given object.
key
- 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}
- The formatted message
getMessage
public static String getMessage(String key,
String arg0,
String arg1,
String arg2,
String arg3,
String arg4)
throws MissingResourceException
Get a message from resource.properties from the package of the given object.
key
- 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}
- The formatted message
getMessage
public static String getMessage(String key,
String[] args)
throws MissingResourceException
Get a message from resource.properties from the package of the given object.
key
- The resource keyargs
- An array of objects to place in corresponding variables
- The formatted message
getResourceBundle
public static ResourceBundle getResourceBundle()