com.ibm.j2ca.extension.emd.discovery.properties
Class WBIMessageResource

java.lang.Object
  extended bycom.ibm.j2ca.extension.emd.discovery.properties.WBIMessageResource

public class WBIMessageResource
extends java.lang.Object

A singleton class implementing mapping from string keys to localized error messages.


Field Summary
static java.lang.String ERR_CANNOT_REMOVE
           
static java.lang.String ERR_ID_SET
           
static java.lang.String ERR_INVALID_FILE_EXT
           
static java.lang.String ERR_INVALID_OBJECT_TYPE
           
static java.lang.String ERR_INVALID_PROJECT_NAME
           
static java.lang.String ERR_INVALID_PROPERTY_TYPE
           
static java.lang.String ERR_INVALID_STRING
           
static java.lang.String ERR_PG_IS_DISABLED
           
static java.lang.String ERR_PRIMITIVE_TYPE_CANNOT_BE_NULL
           
static java.lang.String ERR_PROP_NAME_NULL
           
static java.lang.String ERR_PROPERTY_IS_DISABLED
           
static java.lang.String ERR_SET_AS_STRING_NOT_SUPPORTED
           
static java.lang.String ERR_TYPE_NULL
           
 
Method Summary
 java.lang.String getString(java.lang.String key)
          Returns a resource string mapping to the specifed resource key.
 java.lang.String getString(java.lang.String key, java.lang.Object[] arg)
          Returns a resource string mapping to the specifed resource key, and replacement arguments.
 java.lang.String getString(java.lang.String key, java.lang.String arg1)
          Returns a resource string mapping to the specifed resource key, and replacement argument.
 java.lang.String getString(java.lang.String key, java.lang.String arg1, java.lang.String arg2)
          Returns a resource string mapping to the specifed resource key, and replacement arguments.
 java.lang.String getString(java.lang.String key, java.lang.String arg1, java.lang.String arg2, java.lang.String arg3)
          Returns a resource string mapping to the specifed resource key, and replacement arguments.
 java.lang.String getString(java.lang.String key, java.lang.String arg1, java.lang.String arg2, java.lang.String arg3, java.lang.String arg4)
          Returns a resource string mapping to the specifed resource key, and replacement arguments.
static WBIMessageResource instance()
          Returns an instance of a MessageResource initialized to the current locale.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ERR_CANNOT_REMOVE

public static final java.lang.String ERR_CANNOT_REMOVE
See Also:
Constant Field Values

ERR_ID_SET

public static final java.lang.String ERR_ID_SET
See Also:
Constant Field Values

ERR_INVALID_FILE_EXT

public static final java.lang.String ERR_INVALID_FILE_EXT
See Also:
Constant Field Values

ERR_INVALID_OBJECT_TYPE

public static final java.lang.String ERR_INVALID_OBJECT_TYPE
See Also:
Constant Field Values

ERR_INVALID_PROJECT_NAME

public static final java.lang.String ERR_INVALID_PROJECT_NAME
See Also:
Constant Field Values

ERR_INVALID_PROPERTY_TYPE

public static final java.lang.String ERR_INVALID_PROPERTY_TYPE
See Also:
Constant Field Values

ERR_INVALID_STRING

public static final java.lang.String ERR_INVALID_STRING
See Also:
Constant Field Values

ERR_PG_IS_DISABLED

public static final java.lang.String ERR_PG_IS_DISABLED
See Also:
Constant Field Values

ERR_PRIMITIVE_TYPE_CANNOT_BE_NULL

public static final java.lang.String ERR_PRIMITIVE_TYPE_CANNOT_BE_NULL
See Also:
Constant Field Values

ERR_PROP_NAME_NULL

public static final java.lang.String ERR_PROP_NAME_NULL
See Also:
Constant Field Values

ERR_PROPERTY_IS_DISABLED

public static final java.lang.String ERR_PROPERTY_IS_DISABLED
See Also:
Constant Field Values

ERR_SET_AS_STRING_NOT_SUPPORTED

public static final java.lang.String ERR_SET_AS_STRING_NOT_SUPPORTED
See Also:
Constant Field Values

ERR_TYPE_NULL

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

instance

public static WBIMessageResource instance()
Returns an instance of a MessageResource initialized to the current locale.


getString

public final java.lang.String getString(java.lang.String key)
Returns a resource string mapping to the specifed resource key.

Parameters:
key - The resource key to retrieve.

getString

public final java.lang.String getString(java.lang.String key,
                                        java.lang.Object[] arg)
Returns a resource string mapping to the specifed resource key, and replacement arguments.

Parameters:
key - The resource key to retrieve.
arg - The replacement arguments.

getString

public final java.lang.String getString(java.lang.String key,
                                        java.lang.String arg1)
Returns a resource string mapping to the specifed resource key, and replacement argument.

Parameters:
key - The resource key to retrieve.
arg1 - The replacement argument.

getString

public final java.lang.String getString(java.lang.String key,
                                        java.lang.String arg1,
                                        java.lang.String arg2)
Returns a resource string mapping to the specifed resource key, and replacement arguments.

Parameters:
key - The resource key to retrieve.
arg1 - The first replacement argument.
arg2 - The second replacement argument.

getString

public final java.lang.String getString(java.lang.String key,
                                        java.lang.String arg1,
                                        java.lang.String arg2,
                                        java.lang.String arg3)
Returns a resource string mapping to the specifed resource key, and replacement arguments.

Parameters:
key - The resource key to retrieve.
arg1 - The first replacement argument.
arg2 - The second replacement argument.
arg3 - The third replacement argument.

getString

public final java.lang.String getString(java.lang.String key,
                                        java.lang.String arg1,
                                        java.lang.String arg2,
                                        java.lang.String arg3,
                                        java.lang.String arg4)
Returns a resource string mapping to the specifed resource key, and replacement arguments.

Parameters:
key - The resource key to retrieve.
arg1 - The first replacement argument.
arg2 - The second replacement argument.
arg3 - The third replacement argument.
arg4 - The fourth replacement argument.