|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.axis2.i18n.Messages
public class Messages
Field Summary | |
---|---|
static java.lang.String |
DEFAULT_MESSAGE_BUNDLE_KEY
|
Constructor Summary | |
---|---|
Messages()
|
Method Summary | |
---|---|
static void |
addMessageBundle(java.lang.String messageBundleKey,
MessageBundle messageBundle)
To add a new Message Bundle to the MessageBundle list. |
static java.lang.String |
getMessage(java.lang.String key)
Get a message from resource.properties from the package of the given object. |
static java.lang.String |
getMessage(java.lang.String key,
java.lang.String arg0)
Get a message from resource.properties from the package of the given object. |
static java.lang.String |
getMessage(java.lang.String key,
java.lang.String[] args)
Get a message from resource.properties from the package of the given object. |
static java.lang.String |
getMessage(java.lang.String key,
java.lang.String arg0,
java.lang.String arg1)
Get a message from resource.properties from the package of the given object. |
static java.lang.String |
getMessage(java.lang.String key,
java.lang.String arg0,
java.lang.String arg1,
java.lang.String arg2)
Get a message from resource.properties from the package of the given object. |
static java.lang.String |
getMessage(java.lang.String key,
java.lang.String arg0,
java.lang.String arg1,
java.lang.String arg2,
java.lang.String arg3)
Get a message from resource.properties from the package of the given object. |
static java.lang.String |
getMessage(java.lang.String key,
java.lang.String arg0,
java.lang.String arg1,
java.lang.String arg2,
java.lang.String arg3,
java.lang.String arg4)
Get a message from resource.properties from the package of the given object. |
static MessageBundle |
getMessageBundle()
|
static MessageBundle |
getMessageBundle(java.lang.String messageBundleKey)
|
static java.lang.String |
getMessageFromBundle(java.lang.String messageBundleKey,
java.lang.String key)
Get a message from resource.properties from the package of the given object. |
static java.lang.String |
getMessageFromBundle(java.lang.String messageBundleKey,
java.lang.String key,
java.lang.String arg0)
Get a message from resource.properties from the package of the given object. |
static java.lang.String |
getMessageFromBundle(java.lang.String messageBundleKey,
java.lang.String key,
java.lang.String arg0,
java.lang.String arg1)
Get a message from resource.properties from the package of the given object. |
static java.lang.String |
getMessageFromBundle(java.lang.String messageBundleKey,
java.lang.String key,
java.lang.String arg0,
java.lang.String arg1,
java.lang.String arg2)
Get a message from resource.properties from the package of the given object. |
static java.lang.String |
getMessageFromBundle(java.lang.String messageBundleKey,
java.lang.String key,
java.lang.String arg0,
java.lang.String arg1,
java.lang.String arg2,
java.lang.String arg3)
Get a message from resource.properties from the package of the given object. |
static java.lang.String |
getMessageFromBundle(java.lang.String messageBundleKey,
java.lang.String key,
java.lang.String arg0,
java.lang.String arg1,
java.lang.String arg2,
java.lang.String arg3,
java.lang.String arg4)
Get a message from resource.properties from the package of the given object. |
static java.util.ResourceBundle |
getResourceBundle()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String DEFAULT_MESSAGE_BUNDLE_KEY
Constructor Detail |
---|
public Messages()
Method Detail |
---|
public static void addMessageBundle(java.lang.String messageBundleKey, MessageBundle messageBundle)
messageBundleKey
- The key which will be used to refer to this message bundle later.messageBundle
- The message bundle.public static java.lang.String getMessage(java.lang.String key) throws java.util.MissingResourceException
key
- The resource key
java.util.MissingResourceException
public static java.lang.String getMessage(java.lang.String key, java.lang.String arg0) throws java.util.MissingResourceException
key
- The resource keyarg0
- The argument to place in variable {0}
java.util.MissingResourceException
public static java.lang.String getMessage(java.lang.String key, java.lang.String arg0, java.lang.String arg1) throws java.util.MissingResourceException
key
- The resource keyarg0
- The argument to place in variable {0}arg1
- The argument to place in variable {1}
java.util.MissingResourceException
public static java.lang.String getMessage(java.lang.String key, java.lang.String arg0, java.lang.String arg1, java.lang.String arg2) throws java.util.MissingResourceException
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}
java.util.MissingResourceException
public static java.lang.String getMessage(java.lang.String key, java.lang.String arg0, java.lang.String arg1, java.lang.String arg2, java.lang.String arg3) throws java.util.MissingResourceException
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}
java.util.MissingResourceException
public static java.lang.String getMessage(java.lang.String key, java.lang.String arg0, java.lang.String arg1, java.lang.String arg2, java.lang.String arg3, java.lang.String arg4) throws java.util.MissingResourceException
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}
java.util.MissingResourceException
public static java.lang.String getMessage(java.lang.String key, java.lang.String[] args) throws java.util.MissingResourceException
key
- The resource keyargs
- An array of objects to place in corresponding variables
java.util.MissingResourceException
public static java.util.ResourceBundle getResourceBundle()
public static MessageBundle getMessageBundle()
public static MessageBundle getMessageBundle(java.lang.String messageBundleKey)
public static java.lang.String getMessageFromBundle(java.lang.String messageBundleKey, java.lang.String key) throws java.util.MissingResourceException, java.lang.Exception
messageBundleKey
- The key for getting the correct message bundle.key
- The resource key
java.util.MissingResourceException
java.lang.Exception
public static java.lang.String getMessageFromBundle(java.lang.String messageBundleKey, java.lang.String key, java.lang.String arg0) throws java.util.MissingResourceException, java.lang.Exception
messageBundleKey
- The key for getting the correct message bundle.key
- The resource keyarg0
- The argument to place in variable {0}
java.util.MissingResourceException
java.lang.Exception
public static java.lang.String getMessageFromBundle(java.lang.String messageBundleKey, java.lang.String key, java.lang.String arg0, java.lang.String arg1) throws java.util.MissingResourceException, java.lang.Exception
messageBundleKey
- The key for getting the correct message bundle.key
- The resource keyarg0
- The argument to place in variable {0}arg1
- The argument to place in variable {1}
java.util.MissingResourceException
java.lang.Exception
public static java.lang.String getMessageFromBundle(java.lang.String messageBundleKey, java.lang.String key, java.lang.String arg0, java.lang.String arg1, java.lang.String arg2) throws java.util.MissingResourceException, java.lang.Exception
messageBundleKey
- The key for getting the correct message bundle.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}
java.util.MissingResourceException
java.lang.Exception
public static java.lang.String getMessageFromBundle(java.lang.String messageBundleKey, java.lang.String key, java.lang.String arg0, java.lang.String arg1, java.lang.String arg2, java.lang.String arg3) throws java.util.MissingResourceException, java.lang.Exception
messageBundleKey
- The key for getting the correct message bundle.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}
java.util.MissingResourceException
java.lang.Exception
public static java.lang.String getMessageFromBundle(java.lang.String messageBundleKey, java.lang.String key, java.lang.String arg0, java.lang.String arg1, java.lang.String arg2, java.lang.String arg3, java.lang.String arg4) throws java.util.MissingResourceException, java.lang.Exception
messageBundleKey
- The key for getting the correct message bundle.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}
java.util.MissingResourceException
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |