atg.rest
Class Messages

java.lang.Object
  extended by atg.rest.Messages

public class Messages
extends java.lang.Object


Field Summary
static java.lang.String CLASS_VERSION
          Class version string
static long serialVersionUID
           
static java.lang.String SPACE
           
 
Method Summary
static java.lang.String getString(java.lang.String pKey)
          Retrieves the resource specified by the key argument
static java.lang.String getString(java.lang.String pKey, java.lang.Object[] pMsgArgs)
          Retrieves the resource specified by the key argument plus arguments inserted into the message
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Class version string


serialVersionUID

public static final long serialVersionUID

SPACE

public static final java.lang.String SPACE
See Also:
Constant Field Values
Method Detail

getString

public static java.lang.String getString(java.lang.String pKey)
Retrieves the resource specified by the key argument

Parameters:
pKey - the resource key
Returns:
the resource specified by the key argument
Throws:
java.util.MissingResourceException - if the resource specified by the key argument cannot be found

getString

public static java.lang.String getString(java.lang.String pKey,
                                         java.lang.Object[] pMsgArgs)
Retrieves the resource specified by the key argument plus arguments inserted into the message

Parameters:
pKey - the resource key
Returns:
the resource specified by the key argument
Throws:
java.util.MissingResourceException - if the resource specified by the key argument cannot be found