de.erichseifert.gral.util
Class Messages
- java.lang.Object
-
- de.erichseifert.gral.util.Messages
-
public abstract class Messages extends java.lang.ObjectSingleton class that globally provides translated message texts.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static java.lang.StringgetString(java.lang.String key)Returns a message text that is determined by the specified key.
-
-
-
Method Detail
-
getString
public static java.lang.String getString(java.lang.String key)
Returns a message text that is determined by the specified key. A replacement text generated from the key is returned if the message cannot be found.- Parameters:
key- Key string that identifies the message- Returns:
- Translated message text, or default key if the message cannot be found.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG