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.Object
AMessage
can 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.String
getKey()
The unique key for the localized message.java.lang.String
getMessage()
The localized message.java.lang.String
getPackageName()
java.lang.Object[]
getSubstitutions()
Substitutions inserted into the message.java.lang.String
toString()
-
-
-
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:
toString
in classjava.lang.Object
-
-