Package org.apache.axis.utils
Class Messages
java.lang.Object
org.apache.axis.utils.Messages
- Author:
- Richard A. Sitze (rsitze@us.ibm.com), Karl Moss (kmoss@macromedia.com), Glen Daniels (gdaniels@apache.org)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetMessage(String key) Get a message from resource.properties from the package of the given object.static StringgetMessage(String key, String arg0) Get a message from resource.properties from the package of the given object.static StringgetMessage(String key, String[] args) Get a message from resource.properties from the package of the given object.static StringgetMessage(String key, String arg0, String arg1) Get a message from resource.properties from the package of the given object.static StringgetMessage(String key, String arg0, String arg1, String arg2) Get a message from resource.properties from the package of the given object.static StringGet a message from resource.properties from the package of the given object.static StringGet a message from resource.properties from the package of the given object.static MessageBundlestatic ResourceBundle
-
Constructor Details
-
Messages
public Messages()
-
-
Method Details
-
getMessage
Get a message from resource.properties from the package of the given object.- Parameters:
key- The resource keycaller- The calling object, used to get the package name and class loaderlocale- The locale- Returns:
- The formatted message
- Throws:
MissingResourceException
-
getMessage
Get a message from resource.properties from the package of the given object.- Parameters:
key- The resource keyarg0- The argument to place in variable {0}caller- The calling object, used to get the package name and class loaderlocale- The locale- Returns:
- The formatted message
- Throws:
MissingResourceException
-
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.- Parameters:
key- The resource keyarg0- The argument to place in variable {0}arg1- The argument to place in variable {1}caller- The calling object, used to get the package name and class loaderlocale- The locale- Returns:
- The formatted message
- Throws:
MissingResourceException
-
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.- Parameters:
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}caller- The calling object, used to get the package name and class loaderlocale- The locale- Returns:
- The formatted message
- Throws:
MissingResourceException
-
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.- Parameters:
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}caller- The calling object, used to get the package name and class loaderlocale- The locale- Returns:
- The formatted message
- Throws:
MissingResourceException
-
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.- Parameters:
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}caller- The calling object, used to get the package name and class loaderlocale- The locale- Returns:
- The formatted message
- Throws:
MissingResourceException
-
getMessage
Get a message from resource.properties from the package of the given object.- Parameters:
key- The resource keycaller- The calling object, used to get the package name and class loaderlocale- The localearray- An array of objects to place in corresponding variables- Returns:
- The formatted message
- Throws:
MissingResourceException
-
getResourceBundle
-
getMessageBundle
-