Top Description Constructors Methods
org.eclipse.persistence.internal.localization

public abstract Class EclipseLinkLocalization

extends Object
Class Inheritance
Known Direct Subclasses
org.eclipse.persistence.internal.localization.ExceptionLocalization, org.eclipse.persistence.internal.localization.JAXBLocalization, org.eclipse.persistence.internal.localization.LoggingLocalization, org.eclipse.persistence.internal.localization.ToStringLocalization, org.eclipse.persistence.internal.localization.TraceLocalization, org.eclipse.persistence.internal.localization.DMSLocalization
Imports
java.text.MessageFormat, java.util.Locale, .ResourceBundle

Purpose: Any EclipseLink message in Foundation Library & J2EE Integration JARs should be a subclass of this class. Creation date: (7/12/00)

Author
Shannon Chen
Since
TOPLink/Java 5.0

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static String
buildMessage(String localizationClassName, String key, Object[] arguments)

Return the message for the given exception class and error number.

public static String
buildMessage(String localizationClassName, String key, Object[] arguments, boolean translate)

INTERNAL: Return the message for the given exception class and error number.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

EclipseLinkLocalizationback to summary
public EclipseLinkLocalization()

Method Detail

buildMessageback to summary
public static String buildMessage(String localizationClassName, String key, Object[] arguments)

Return the message for the given exception class and error number.

buildMessageback to summary
public static String buildMessage(String localizationClassName, String key, Object[] arguments, boolean translate)

INTERNAL: Return the message for the given exception class and error number. Based on the state of the translate flag - look up translation for the key:value message