Class EclipseLinkLocalization
- java.lang.Object
-
- org.eclipse.persistence.internal.localization.EclipseLinkLocalization
-
- Direct Known Subclasses:
DMSLocalization
,ExceptionLocalization
,JAXBLocalization
,LoggingLocalization
,ToStringLocalization
,TraceLocalization
public abstract class EclipseLinkLocalization extends Object
Purpose: Any EclipseLink message in Foundation Library & J2EE Integration JARs should be a subclass of this class. Creation date: (7/12/00)
- Since:
- TOPLink/Java 5.0
- Author:
- Shannon Chen
-
-
Constructor Summary
Constructors Constructor Description EclipseLinkLocalization()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
buildMessage(String localizationClassName, String key, Object[] arguments)
Return the message for the given exception class and error number.static String
buildMessage(String localizationClassName, String key, Object[] arguments, boolean translate)
INTERNAL: Return the message for the given exception class and error number.
-
-
-
Method Detail
-
buildMessage
public static String buildMessage(String localizationClassName, String key, Object[] arguments)
Return the message for the given exception class and error number.
-
buildMessage
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- Parameters:
localizationClassName
-key
-arguments
-translate
-- Returns:
-
-