Top Description Fields Methods
com.sun.istack.localization

public Interface Localizable

Known Direct Implementers
com.sun.istack.localization.LocalizableMessage, com.sun.istack.localization.NullLocalizable
Imports
java.util.Locale, .ResourceBundle

Localizable message.
Author
WS Development Team

Field Summary

Modifier and TypeField and Description
public static final String
NOT_LOCALIZABLE

Special constant that represents a message that is not localizable.

Method Summary

Modifier and TypeMethod and Description
public Object[]

Returns:

can be an array of length 0 but never be null.
getArguments
()

Returns the arguments for message formatting.

public String

Returns:

if this method returns NOT_LOCALIZABLE, that means the message is not localizable, and the first item of getArguments() array holds a String.
getKey
()

Gets the key in the resource bundle.

public ResourceBundle
public String

Field Detail

NOT_LOCALIZABLEback to summary
public static final String NOT_LOCALIZABLE

Special constant that represents a message that is not localizable.

Use of "new" is to create an unique instance.

Method Detail

getArgumentsback to summary
public Object[] getArguments()

Returns the arguments for message formatting.

Returns:Object[]

can be an array of length 0 but never be null.

getKeyback to summary
public String getKey()

Gets the key in the resource bundle.

Returns:String

if this method returns NOT_LOCALIZABLE, that means the message is not localizable, and the first item of getArguments() array holds a String.

getResourceBundleback to summary
public ResourceBundle getResourceBundle(Locale locale)
getResourceBundleNameback to summary
public String getResourceBundleName()