Class Messages
java.lang.Object
org.pentaho.reporting.ui.datasources.sequence.Messages
-
Method Summary
Modifier and TypeMethodDescriptionstatic Iconstatic Iconstatic KeyStrokegetKeyStroke(String key) static KeyStrokegetKeyStroke(String key, int mask) static IntegergetMnemonic(String key) static KeyStrokestatic KeyStrokegetOptionalKeyStroke(String key, int mask) static Integerstatic StringGets a string for the given key from this resource bundle or one of its parents.static StringFormats the message stored in the resource bundle (using a MessageFormat).
-
Method Details
-
getString
Gets a string for the given key from this resource bundle or one of its parents. If the key is a link, the link is resolved and the referenced string is returned instead. If the given key cannot be resolved, no exception will be thrown and a generic placeholder is used instead.- Parameters:
key- the key for the desired string- Returns:
- the string for the given key
- Throws:
NullPointerException- ifkeyisnullMissingResourceException- if no object for the given key can be found
-
getString
Formats the message stored in the resource bundle (using a MessageFormat).- Parameters:
key- the resourcebundle keyparam1- the parameter for the message- Returns:
- the formated string
-
getIcon
-
getIcon
-
getMnemonic
-
getOptionalMnemonic
-
getKeyStroke
-
getOptionalKeyStroke
-
getKeyStroke
-
getOptionalKeyStroke
-