FileDocCategorySizeDatePackage
MessageFactory.javaAPI DocGlassfish v2 API3590Fri May 04 22:31:50 BST 2007com.sun.el.util

MessageFactory

public final class MessageFactory extends Object
author
Jacob Hookom [jacob@hookom.net]
version
$Change: 181177 $$DateTime: 2001/06/26 08:45:09 $$Author: tcfujii $

Fields Summary
protected static final ResourceBundle
bundle
Constructors Summary
public MessageFactory()

          
      
        super();
    
Methods Summary
public static java.lang.Stringget(java.lang.String key)

        return bundle.getString(key);
    
public static java.lang.Stringget(java.lang.String key, java.lang.Object obj0)

        return getArray(key, new Object[] { obj0 });
    
public static java.lang.Stringget(java.lang.String key, java.lang.Object obj0, java.lang.Object obj1)

        return getArray(key, new Object[] { obj0, obj1 });
    
public static java.lang.Stringget(java.lang.String key, java.lang.Object obj0, java.lang.Object obj1, java.lang.Object obj2)

        return getArray(key, new Object[] { obj0, obj1, obj2 });
    
public static java.lang.Stringget(java.lang.String key, java.lang.Object obj0, java.lang.Object obj1, java.lang.Object obj2, java.lang.Object obj3)

        return getArray(key, new Object[] { obj0, obj1, obj2, obj3 });
    
public static java.lang.Stringget(java.lang.String key, java.lang.Object obj0, java.lang.Object obj1, java.lang.Object obj2, java.lang.Object obj3, java.lang.Object obj4)

        return getArray(key, new Object[] { obj0, obj1, obj2, obj3, obj4 });
    
public static java.lang.StringgetArray(java.lang.String key, java.lang.Object[] objA)

        return MessageFormat.format(bundle.getString(key), objA);