org.apache.axis.i18n
public class MessageBundle extends java.lang.Object
Constructor and Description |
---|
MessageBundle(java.lang.String projectName,
java.lang.String packageName,
java.lang.String resourceName,
java.util.Locale locale,
java.lang.ClassLoader classLoader,
java.util.ResourceBundle parent)
Construct a new ExtendMessages
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMessage(java.lang.String key)
Gets a string message from the resource bundle for the given key
|
java.lang.String |
getMessage(java.lang.String key,
java.lang.String arg0)
Gets a string message from the resource bundle for the given key.
|
java.lang.String |
getMessage(java.lang.String key,
java.lang.String[] array)
Gets a string message from the resource bundle for the given key.
|
java.lang.String |
getMessage(java.lang.String key,
java.lang.String arg0,
java.lang.String arg1)
Gets a string message from the resource bundle for the given key.
|
java.lang.String |
getMessage(java.lang.String key,
java.lang.String arg0,
java.lang.String arg1,
java.lang.String arg2)
Gets a string message from the resource bundle for the given key.
|
java.lang.String |
getMessage(java.lang.String key,
java.lang.String arg0,
java.lang.String arg1,
java.lang.String arg2,
java.lang.String arg3)
Gets a string message from the resource bundle for the given key.
|
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)
Gets a string message from the resource bundle for the given key.
|
ProjectResourceBundle |
getResourceBundle() |
public MessageBundle(java.lang.String projectName, java.lang.String packageName, java.lang.String resourceName, java.util.Locale locale, java.lang.ClassLoader classLoader, java.util.ResourceBundle parent) throws java.util.MissingResourceException
java.util.MissingResourceException
public final ProjectResourceBundle getResourceBundle()
public java.lang.String getMessage(java.lang.String key) throws java.util.MissingResourceException
key
- The resource keyjava.util.MissingResourceException
public java.lang.String getMessage(java.lang.String key, java.lang.String arg0) throws java.util.MissingResourceException
Gets a string message from the resource bundle for the given key. The message may contain variables that will be substituted with the given arguments. Variables have the format:
key
- The resource keyarg0
- The argument to place in variable {0}java.util.MissingResourceException
public java.lang.String getMessage(java.lang.String key, java.lang.String arg0, java.lang.String arg1) throws java.util.MissingResourceException
Gets a string message from the resource bundle for the given key. The message may contain variables that will be substituted with the given arguments. Variables have the format:
key
- The resource keyarg0
- The argument to place in variable {0}arg1
- The argument to place in variable {1}java.util.MissingResourceException
public java.lang.String getMessage(java.lang.String key, java.lang.String arg0, java.lang.String arg1, java.lang.String arg2) throws java.util.MissingResourceException
Gets a string message from the resource bundle for the given key. The message may contain variables that will be substituted with the given arguments. Variables have the format:
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 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
Gets a string message from the resource bundle for the given key. The message may contain variables that will be substituted with the given arguments. Variables have the format:
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 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
Gets a string message from the resource bundle for the given key. The message may contain variables that will be substituted with the given arguments. Variables have the format:
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 java.lang.String getMessage(java.lang.String key, java.lang.String[] array) throws java.util.MissingResourceException
Gets a string message from the resource bundle for the given key. The message may contain variables that will be substituted with the given arguments. Variables have the format:
key
- The resource keyarray
- An array of objects to place in corresponding variablesjava.util.MissingResourceException
Copyright ? 2005 Apache Web Services Project. All Rights Reserved.