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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • 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.