redstone.xmlrpc
Class XmlRpcMessages

java.lang.Object
  extended by redstone.xmlrpc.XmlRpcMessages

public class XmlRpcMessages
extends java.lang.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

Constructor Summary
XmlRpcMessages()
           
 
Method Summary
static java.lang.String getString(java.lang.String key)
          Returns a message from the resource bundle corresponding to the given key.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlRpcMessages

public XmlRpcMessages()
Method Detail

getString

public static java.lang.String getString(java.lang.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:
java.util.MissingResourceException - If the message is not found.