java.lang.Object
org.pentaho.reporting.libraries.base.util.ResourceBundleSupport
org.pentaho.reporting.libraries.designtime.swing.Messages

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

    Modifier and Type
    Method
    Description
    static Messages
    Returns a instance for the current default locale.
    static Messages
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • 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.