Class Localizer.Message

  • Enclosing class:
    Localizer

    public static class Localizer.Message
    extends java.lang.Object
    A 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.
    • 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()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 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 class java.lang.Object