public final class LanguageTags extends Object
Modifier and Type | Method and Description |
---|---|
static String |
toLanguageTag(Locale locale)
Converts the given locale to an RFC 3066 compliant language tag.
|
static Locale |
toLocale(String languageTag)
Converts an RFC 3066 compliant language tag to a locale.
|
Copyright © 2025 Apache Software Foundation. All rights reserved.