Class LocalizableMessage

  • All Implemented Interfaces:
    Localizable

    public final class LocalizableMessage
    extends java.lang.Object
    implements Localizable
    Author:
    WS Development Team
    • Constructor Summary

      Constructors 
      Constructor Description
      LocalizableMessage​(java.lang.String bundlename, java.lang.String key, java.lang.Object... args)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object[] getArguments()
      Returns the arguments for message formatting.
      java.lang.String getKey()
      Gets the key in the resource bundle.
      java.lang.String getResourceBundleName()
      Get the name of the localization messages resource bundle.
      • Methods inherited from class java.lang.Object

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

      • LocalizableMessage

        public LocalizableMessage​(java.lang.String bundlename,
                                  java.lang.String key,
                                  java.lang.Object... args)
    • Method Detail

      • getArguments

        public java.lang.Object[] getArguments()
        Description copied from interface: Localizable
        Returns the arguments for message formatting.
        Specified by:
        getArguments in interface Localizable
        Returns:
        can be an array of length 0 but never be null.
      • getResourceBundleName

        public java.lang.String getResourceBundleName()
        Description copied from interface: Localizable
        Get the name of the localization messages resource bundle.
        Specified by:
        getResourceBundleName in interface Localizable
        Returns:
        the localization messages resource bundle name.