public static class Localizer.Message
extends java.lang.Object
Message
can provide a localized message via the
getMessage()
method call, and can also provide the original key,
package, and substitution array that were used to assemble the message.Modifier and Type | Method and 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() |
public java.lang.String getMessage()
public java.lang.String getKey()
public java.lang.Object[] getSubstitutions()
public java.lang.String getPackageName()
public java.lang.String toString()
toString
in class java.lang.Object