FileDocCategorySizeDatePackage
Messages.javaAPI DocphoneME MR2 API (J2ME)3046Wed May 02 18:00:36 BST 2007com.sun.perseus.midp

Messages

public final class Messages extends Object
version
$Id: Messages.java,v 1.2 2006/04/21 06:40:52 st125089 Exp $

Fields Summary
static String
ERROR_INVALID_STATE
Error when a method is called while the target object is in the wrong state. {0} : the target object class name. {1} : the target object's current state. {2} : the method name {3} : the valid state(s) for the method.
protected static final String
RESOURCES
The error messages bundle class name.
protected static com.sun.perseus.platform.MessagesSupport
messagesSupport
The localizable support for the error messages.
Constructors Summary
private Messages()
This class does not need to be instantiated.


                 
      
Methods Summary
public static java.lang.StringformatMessage(java.lang.String key, java.lang.Object[] args)
Formats the message identified by key with the input arguments.

param
key the message's key
param
args the arguments used to format the message
return
the formatted message


                                      
             
        return messagesSupport.formatMessage(key, args);