Class Messages
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 TypeMethodDescriptionstatic Messages
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 Details
-
getInstance
Returns a instance for the current default locale.- Returns:
- the messages-bundle for the default locale.
-
getInstance
Returns the messages-bundle for the given locale.- Parameters:
locale
- the locale, never null.- Returns:
- the message bundle for this locale.
-