| java.lang.Object org.apache.axis2.i18n.Messages
Messages | public class Messages (Code) | | |
Method Summary | |
public static void | addMessageBundle(String messageBundleKey, MessageBundle messageBundle) To add a new Message Bundle to the MessageBundle list. | public static String | getMessage(String key) Get a message from resource.properties from the package of the given object. | public static String | getMessage(String key, String arg0) Get a message from resource.properties from the package of the given object. | public static String | getMessage(String key, String arg0, String arg1) Get a message from resource.properties from the package of the given object. | public static String | getMessage(String key, String arg0, String arg1, String arg2) Get a message from resource.properties from the package of the given object. | public 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. | public 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. | public static String | getMessage(String key, String[] args) Get a message from resource.properties from the package of the given object. | public static MessageBundle | getMessageBundle() | public static MessageBundle | getMessageBundle(String messageBundleKey) | public static String | getMessageFromBundle(String messageBundleKey, String key) Get a message from resource.properties from the package of the given object. | public static String | getMessageFromBundle(String messageBundleKey, String key, String arg0) Get a message from resource.properties from the package of the given object. | public static String | getMessageFromBundle(String messageBundleKey, String key, String arg0, String arg1) Get a message from resource.properties from the package of the given object. | public static String | getMessageFromBundle(String messageBundleKey, String key, String arg0, String arg1, String arg2) Get a message from resource.properties from the package of the given object. | public static String | getMessageFromBundle(String messageBundleKey, String key, String arg0, String arg1, String arg2, String arg3) Get a message from resource.properties from the package of the given object. | public static String | getMessageFromBundle(String messageBundleKey, 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. | public static ResourceBundle | getResourceBundle() |
DEFAULT_MESSAGE_BUNDLE_KEY | final public static String DEFAULT_MESSAGE_BUNDLE_KEY(Code) | | |
addMessageBundle | public static void addMessageBundle(String messageBundleKey, MessageBundle messageBundle)(Code) | | To add a new Message Bundle to the MessageBundle list.
Parameters: messageBundleKey - The key which will be used to refer to this message bundle later. Parameters: messageBundle - The message bundle. |
getMessage | public static String getMessage(String key) throws MissingResourceException(Code) | | Get a message from resource.properties from the package of the given object.
Parameters: key - The resource key The formatted message |
getMessage | public static String getMessage(String key, String arg0) throws MissingResourceException(Code) | | Get a message from resource.properties from the package of the given object.
Parameters: key - The resource key Parameters: arg0 - The argument to place in variable {0} The formatted message |
getMessage | public static String getMessage(String key, String arg0, String arg1) throws MissingResourceException(Code) | | Get a message from resource.properties from the package of the given object.
Parameters: key - The resource key Parameters: arg0 - The argument to place in variable {0} Parameters: 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(Code) | | Get a message from resource.properties from the package of the given object.
Parameters: key - The resource key Parameters: arg0 - The argument to place in variable {0} Parameters: arg1 - The argument to place in variable {1} Parameters: 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(Code) | | Get a message from resource.properties from the package of the given object.
Parameters: key - The resource key Parameters: arg0 - The argument to place in variable {0} Parameters: arg1 - The argument to place in variable {1} Parameters: arg2 - The argument to place in variable {2} Parameters: 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(Code) | | Get a message from resource.properties from the package of the given object.
Parameters: key - The resource key Parameters: arg0 - The argument to place in variable {0} Parameters: arg1 - The argument to place in variable {1} Parameters: arg2 - The argument to place in variable {2} Parameters: arg3 - The argument to place in variable {3} Parameters: arg4 - The argument to place in variable {4} The formatted message |
getMessage | public static String getMessage(String key, String[] args) throws MissingResourceException(Code) | | Get a message from resource.properties from the package of the given object.
Parameters: key - The resource key Parameters: args - An array of objects to place in corresponding variables The formatted message |
getMessageFromBundle | public static String getMessageFromBundle(String messageBundleKey, String key) throws MissingResourceException, Exception(Code) | | Get a message from resource.properties from the package of the given object.
Parameters: messageBundleKey - The key for getting the correct message bundle. Parameters: key - The resource key The formatted message |
getMessageFromBundle | public static String getMessageFromBundle(String messageBundleKey, String key, String arg0) throws MissingResourceException, Exception(Code) | | Get a message from resource.properties from the package of the given object.
Parameters: messageBundleKey - The key for getting the correct message bundle. Parameters: key - The resource key Parameters: arg0 - The argument to place in variable {0} The formatted message |
getMessageFromBundle | public static String getMessageFromBundle(String messageBundleKey, String key, String arg0, String arg1) throws MissingResourceException, Exception(Code) | | Get a message from resource.properties from the package of the given object.
Parameters: messageBundleKey - The key for getting the correct message bundle. Parameters: key - The resource key Parameters: arg0 - The argument to place in variable {0} Parameters: arg1 - The argument to place in variable {1} The formatted message |
getMessageFromBundle | public static String getMessageFromBundle(String messageBundleKey, String key, String arg0, String arg1, String arg2) throws MissingResourceException, Exception(Code) | | Get a message from resource.properties from the package of the given object.
Parameters: messageBundleKey - The key for getting the correct message bundle. Parameters: key - The resource key Parameters: arg0 - The argument to place in variable {0} Parameters: arg1 - The argument to place in variable {1} Parameters: arg2 - The argument to place in variable {2} The formatted message |
getMessageFromBundle | public static String getMessageFromBundle(String messageBundleKey, String key, String arg0, String arg1, String arg2, String arg3) throws MissingResourceException, Exception(Code) | | Get a message from resource.properties from the package of the given object.
Parameters: messageBundleKey - The key for getting the correct message bundle. Parameters: key - The resource key Parameters: arg0 - The argument to place in variable {0} Parameters: arg1 - The argument to place in variable {1} Parameters: arg2 - The argument to place in variable {2} Parameters: arg3 - The argument to place in variable {3} The formatted message |
getMessageFromBundle | public static String getMessageFromBundle(String messageBundleKey, String key, String arg0, String arg1, String arg2, String arg3, String arg4) throws MissingResourceException, Exception(Code) | | Get a message from resource.properties from the package of the given object.
Parameters: messageBundleKey - The key for getting the correct message bundle. Parameters: key - The resource key Parameters: arg0 - The argument to place in variable {0} Parameters: arg1 - The argument to place in variable {1} Parameters: arg2 - The argument to place in variable {2} Parameters: arg3 - The argument to place in variable {3} Parameters: arg4 - The argument to place in variable {4} The formatted message |
|
|