Class Messages

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

public class Messages extends Object
Convenience methods for retrieving locale-specific messages.
Since:
1.0.4
Author:
Matthew Hall
  • Field Details

    • PAGE_X_OF_Y

      public static final String PAGE_X_OF_Y
      Key for "Page {x} of {y}" used by DefaultPageNumberFormat.
      See Also:
  • Method Details

    • getString

      public static String getString(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.