public abstract class LocaleUtil
extends Object
Utility class for locale handling.
-
Constructor Summary
Constructors
-
Method Summary
Converts the given locale to RFC 4646 format.
-
Constructor Details
-
LocaleUtil
public LocaleUtil()
-
Method Details
-
-
toRFC4646
Converts the given locale to RFC 4646 format. e.g. "en_US" to "en-US".
- Parameters:
locale - the Locale to convert to RFC 4646 format
- Returns:
- the string in RFC 4646 format corresponding to the submitted
Locale