Package com.logicaldoc.i18n
Class I18N
- java.lang.Object
-
- com.logicaldoc.i18n.I18N
-
public class I18N extends Object
A class for retrieval of localized messages. All bundles declared in ResourceBundle extension point. The first key match wins.- Since:
- 6.0
- Author:
- Marco Meschieri - LogicalDOC
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Locale
getLocaleISO3(String iso3Code)
Get the locale corresponding to the ISO 639-2(3 digits)static List<String>
getLocales()
static Map<String,String>
getMessages(Locale locale)
static String
message(String key)
static String
message(String key, String lang)
static String
message(String key, Locale locale)
static String
message(String key, Locale locale, Object[] values)
static String
message(String key, Locale locale, String value)
-
-
-
Field Detail
-
bundles
public static String[] bundles
-
-