Class ScriptRuntime.DefaultMessageProvider

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getMessage​(java.lang.String messageId, java.lang.Object[] arguments)
      Returns a textual message identified by the given messageId, parameterized by the given arguments.
      • Methods inherited from class java.lang.Object

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

      • DefaultMessageProvider

        private DefaultMessageProvider()
    • Method Detail

      • getMessage

        public java.lang.String getMessage​(java.lang.String messageId,
                                           java.lang.Object[] arguments)
        Description copied from interface: ScriptRuntime.MessageProvider
        Returns a textual message identified by the given messageId, parameterized by the given arguments.
        Specified by:
        getMessage in interface ScriptRuntime.MessageProvider
        Parameters:
        messageId - the identifier of the message
        arguments - the arguments to fill into the message