Class MessageUtil


  • public class MessageUtil
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      MessageUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String getMessage​(java.lang.String key, java.lang.Object... inserts)
      Resolve a message from the bundle, including any necessary formatting.
      • Methods inherited from class java.lang.Object

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

      • MessageUtil

        public MessageUtil()
    • Method Detail

      • getMessage

        public static final java.lang.String getMessage​(java.lang.String key,
                                                        java.lang.Object... inserts)
        Resolve a message from the bundle, including any necessary formatting.
        Parameters:
        key - the message key.
        inserts - any required message inserts.
        Returns:
        the message translated into the server local.