net.sf.paperclips
Class Messages

java.lang.Object
  extended by net.sf.paperclips.Messages

public class Messages
extends java.lang.Object

Convenience methods for retrieving locale-specific messages.

Since:
1.0.4

Field Summary
static java.lang.String PAGE_X_OF_Y
          Key for "Page {x} of {y}" used by DefaultPageNumberFormat.
 
Method Summary
static java.lang.String getString(java.lang.String key)
          Returns the locale-specific messages for the given key.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PAGE_X_OF_Y

public static final java.lang.String PAGE_X_OF_Y
Key for "Page {x} of {y}" used by DefaultPageNumberFormat.

See Also:
Constant Field Values
Method Detail

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.