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

Messages

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

Fields Summary
static String
ERROR_MISSING_ATTRIBUTE
The error code used when a required attribute is missing {0} = the name of the attribute {1} = the element namespace uri {2} = the element's local name.
static String
ERROR_MISSING_ATTRIBUTE_NS
The error code used when a required namespaced attribute is missing. {0} = the name of the attribute {1} = the attribute's namespace {2} = the element namespace uri {3} = the element's local name.
static String
ERROR_CANNOT_LOAD_RESOURCE
Error used when a font resource cannot be loaded {0} = the resource which could not be loaded.
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);