Class Messages

java.lang.Object
org.kopi.ebics.messages.Messages

public class Messages extends Object
A class to manage application messages.
  • Constructor Details

    • Messages

      public Messages(String bundleName, Locale locale)
    • Messages

      public Messages(String bundleName)
  • Method Details

    • getString

      public String getString(String key, Object... arguments)
      Return the corresponding value of a given key and string parameter.
      Parameters:
      key - the given key
      arguments - object(s) to format
      Returns:
      the corresponding key value
    • getString

      public String getString(String key)
      Return the corresponding value of a given key and parameters.
      Parameters:
      key - the given key
      Returns:
      the corresponding key value
    • setLocale

      public static void setLocale(Locale locale)