public final class Language
extends java.lang.Object
Class that manages the access to the properties files used for generating messages in the platform.
Project:Library for the integration with the services of @Firma, eVisor and TS@.
| Modifier and Type | Field and Description |
|---|---|
static java.util.Locale |
LOCALE_EN_US
Constant attribute that represents the locale en_US.
|
static java.util.Locale |
LOCALE_ES_ES
Constant attribute that represents the locale es_ES.
|
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
getFormatResSigReport(java.lang.String key,
java.lang.Object[] values)
Method that gets the bundle message for certain key and values indicated as input parameters.
|
static java.lang.String |
getResSigReport(java.lang.String key)
Method that gets the bundle message for certain key.
|
static void |
reloadMessagesConfiguration()
Method that loads the configured locale and reload the text messages.
|
public static final java.util.Locale LOCALE_ES_ES
public static final java.util.Locale LOCALE_EN_US
public static void reloadMessagesConfiguration()
public static java.lang.String getResSigReport(java.lang.String key)
key - Parameter that represents the key for obtain the message.public static java.lang.String getFormatResSigReport(java.lang.String key,
java.lang.Object[] values)
key - Parameter that represents the key for obtain the message.values - Parameter that represents the list of values for insert in the message.