Package org.eclnt.jsfserver.util
Class ClientI18NReader
java.lang.Object
org.eclnt.jsfserver.util.ClientI18NReader
Class that reads all I18N information for the RISC client and transforms
this information into a JSON string that is read by the RISC client when
starting up.
In addition the class provides some methods for accessing system information (e.g. languages and countries that are available for the client).
In addition the class provides some methods for accessing system information (e.g. languages and countries that are available for the client).
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
buildI18NJson
(javax.servlet.ServletContext servletContext) Build the JSON configuration string, that is processed by the RISC client in order to get its client locale configuration.Returns list of all countries that are defined for the RISC client.getCountryInfoMap
(String countryId) Returns list of all languages that are defined for the RISC client.static void
init
(javax.servlet.ServletContext servletContext) static void
reset()
Resets buffered information so that it is rebuilt the next time that it is requested.
-
Field Details
-
COUNTRY_decimalSeparator
- See Also:
-
COUNTRY_thousandsSeparator
- See Also:
-
COUNTRY_dateSeparator
- See Also:
-
COUNTRY_timeSeparator
- See Also:
-
COUNTRY_ymdSequence
- See Also:
-
-
Constructor Details
-
ClientI18NReader
public ClientI18NReader()
-
-
Method Details
-
init
public static void init(javax.servlet.ServletContext servletContext) -
buildI18NJson
Build the JSON configuration string, that is processed by the RISC client in order to get its client locale configuration. -
getCountries
Returns list of all countries that are defined for the RISC client. -
getLanguages
Returns list of all languages that are defined for the RISC client. -
reset
public static void reset()Resets buffered information so that it is rebuilt the next time that it is requested. -
getCountryInfoMap
-