Package com.logicaldoc.util
Class LocaleUtil
java.lang.Object
com.logicaldoc.util.LocaleUtil
Utility methods for Locale handling
- Since:
- 4.5
- Author:
- Marco Meschieri - LogicalDOC
-
Method Summary
-
Method Details
-
toLocale
Creates the locale from a string- Parameters:
str
- String in format language_country_variant- Returns:
- the locale that corresponds to
str
-