Class Messages
java.lang.Object
org.eclipse.nebula.paperclips.core.Messages
public class Messages
extends java.lang.Object
Convenience methods for retrieving locale-specific messages.
- Since:
- 1.0.4
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
PAGE_X_OF_Y
Key for "Page {x} of {y}" used by DefaultPageNumberFormat. -
Method Summary
Modifier and Type Method Description static java.lang.String
getString(java.lang.String key)
Returns the locale-specific messages for the given key.
-
Field Details
-
PAGE_X_OF_Y
public static final java.lang.String PAGE_X_OF_YKey for "Page {x} of {y}" used by DefaultPageNumberFormat.- See Also:
- Constant Field Values
-
-
Method Details
-
getString
public static java.lang.String getString(java.lang.String key)Returns the locale-specific messages for the given key.- Parameters:
key
- the key identifying the string to be retrieved.- Returns:
- the locale-specific messages for the given key.
-