Interface Messages


public interface Messages
Support for I18N.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final ResourceBundle
     
  • Method Summary

    Static Methods
    Modifier and Type
    Method
    Description
    static String
    format(String key, Object... args)
    Returns a formatted string using the format string for the given key and arguments.
    static String
    Returns a string for the given key.
  • Field Details

  • Method Details

    • getString

      static String getString(String key)
      Returns a string for the given key.
      Parameters:
      key - the key for the desired string.
      Returns:
      a string for the given key
    • format

      static String format(String key, Object... args)
      Returns a formatted string using the format string for the given key and arguments.
      Parameters:
      key - the key for the desired format string.
      args - arguments referenced by the format specifiers in the format string.
      Returns:
      a formatted string using the format string for the given key and arguments