redstone.xmlrpc
Class XmlRpcMessages
java.lang.Object
redstone.xmlrpc.XmlRpcMessages
public class XmlRpcMessages
- extends Object
Contains various messages generated by the library. The original messages are
stored in XmlRpcMessages.properties, which may be overridden by creating
additional locale specific bundles. This is achieved by placing a copy of
XmlRpcMessages.properties with the locale specific suffix (like
XmlRpcMessages_de.properties for German). The bundle will automatically be selected
depending on the default locale of the JVM.
- Author:
- Greger Olsson
Method Summary |
static String |
getString(String key)
Returns a message from the resource bundle corresponding to the given key. |
XmlRpcMessages
public XmlRpcMessages()
getString
public static String getString(String key)
- Returns a message from the resource bundle corresponding to the given key.
- Parameters:
key
- The message key.
- Returns:
- The message corresponding to the message key.
- Throws:
MissingResourceException
- If the message is not found.