Package eu.europa.esig.dss.i18n
Class I18nProvider
java.lang.Object
eu.europa.esig.dss.i18n.I18nProvider
Internalization provider
-
Constructor Summary
ConstructorDescriptionDefault internationalization constructor Instantiates a defaultLocale
I18nProvider
(Locale locale) Returns an instance ofI18nProvider
-
Method Summary
Modifier and TypeMethodDescriptiongetMessage
(MessageTag messageTag, Object... args) Extracts anI18nMessage
by its key
-
Constructor Details
-
I18nProvider
public I18nProvider()Default internationalization constructor Instantiates a defaultLocale
-
I18nProvider
Returns an instance ofI18nProvider
- Parameters:
locale
-Locale
language/location to use
-
-
Method Details
-
getMessage
Extracts anI18nMessage
by its key- Parameters:
messageTag
-MessageTag
key of the message to get value forargs
- an array of optional parameters- Returns:
String
message value
-