Package ch.qos.cal10n

Class MessageConveyor

    • Constructor Summary

      Constructors 
      Constructor Description
      MessageConveyor​(java.util.Locale locale)
      The Locale associated with this instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getMessage​(MessageParameterObj mpo)
      Syntactic sugar for the case where the massage is contained in a MessageParameterObj.
      <E extends java.lang.Enum<?>>
      java.lang.String
      getMessage​(E key, java.lang.Object... args)
      Given an enum as key, find the resource bundle corresponding to this locale and return the message corresponding to the key passed as parameter (internationalized per this locale).
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MessageConveyor

        public MessageConveyor​(java.util.Locale locale)
        The Locale associated with this instance.
        Parameters:
        locale - the Locale which this conveyor targets