Class I18nProvider

java.lang.Object
eu.europa.esig.dss.i18n.I18nProvider

public class I18nProvider extends Object
Internalization provider
  • Constructor Details

    • I18nProvider

      public I18nProvider()
      Default internationalization constructor Instantiates a default Locale
    • I18nProvider

      public I18nProvider(Locale locale)
      Returns an instance of I18nProvider
      Parameters:
      locale - Locale language/location to use
  • Method Details

    • getMessage

      public String getMessage(MessageTag messageTag, Object... args)
      Extracts an I18nMessage by its key
      Parameters:
      messageTag - MessageTag key of the message to get value for
      args - an array of optional parameters
      Returns:
      String message value