Class Messages


  • public class Messages
    extends org.pentaho.reporting.libraries.base.util.ResourceBundleSupport
    A translation bundle.
    Author:
    Thomas Morgner
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static Messages getInstance()
      Returns a instance for the current default locale.
      static Messages getInstance​(Locale locale)
      Returns the messages-bundle for the given locale.
      • Methods inherited from class org.pentaho.reporting.libraries.base.util.ResourceBundleSupport

        createMenu, formatMessage, formatMessage, formatMessage, getIcon, getIcon, getKeyStroke, getKeyStroke, getLocale, getMnemonic, getOptionalKeyStroke, getOptionalKeyStroke, getOptionalMnemonic, getOptionalString, getResourceBase, getResourceURL, getString, getString, getString, getString, internalGetString, strictString
    • Method Detail

      • getInstance

        public static Messages getInstance()
        Returns a instance for the current default locale.
        Returns:
        the messages-bundle for the default locale.
      • getInstance

        public static Messages getInstance​(Locale locale)
        Returns the messages-bundle for the given locale.
        Parameters:
        locale - the locale, never null.
        Returns:
        the message bundle for this locale.