Package org.apache.openjpa.lib.util
Class Localizer.Message
- java.lang.Object
-
- org.apache.openjpa.lib.util.Localizer.Message
-
- Enclosing class:
- Localizer
public static class Localizer.Message extends java.lang.ObjectAMessagecan provide a localized message via thegetMessage()method call, and can also provide the original key, package, and substitution array that were used to assemble the message.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetKey()The unique key for the localized message.java.lang.StringgetMessage()The localized message.java.lang.StringgetPackageName()java.lang.Object[]getSubstitutions()Substitutions inserted into the message.java.lang.StringtoString()
-
-
-
Method Detail
-
getMessage
public java.lang.String getMessage()
The localized message.
-
getKey
public java.lang.String getKey()
The unique key for the localized message.
-
getSubstitutions
public java.lang.Object[] getSubstitutions()
Substitutions inserted into the message.
-
getPackageName
public java.lang.String getPackageName()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-