| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private static final List | |
| private final List | extensions
Record Component accessed by extensions(). |
| private final List | extlangs
Record Component accessed by extlangs(). |
| private final String | language
Record Component accessed by language(). |
| private final String | privateuse
Record Component accessed by privateuse(). |
| public static final String | |
| public static final String | |
| private final String | |
| private final String | |
| public static final String | |
| public static final String | |
| private final List | variants
Record Component accessed by variants(). |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static String | |
| public static String | |
| public static String | |
| public static String | |
| public static String | |
| public static String | |
| public static String | |
| public static String | |
| public static String | |
| public static String | |
| public static String | |
| public final boolean | equals(Object o)
Implements abstract java. Indicates whether some other object is "equal to" this one. |
| public List | |
| public List | |
| public final int | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public String | |
| private static String | |
| public static LanguageTag | |
| private static List | |
| private static List | |
| private static String | |
| public static LanguageTag | |
| private static String | |
| private static String | |
| private static String | |
| private static List | |
| public String | |
| public String | |
| public String | |
| public String | toString()
Implements abstract java. Returns a string representation of the record. |
| public List |
| EMPTY_SUBTAG | back to summary |
|---|---|
| private static final String EMPTY_SUBTAG | |
| EMPTY_SUBTAGS | back to summary |
|---|---|
| private static final List<String> EMPTY_SUBTAGS | |
| extensions | back to summary |
|---|---|
| private final List<String> extensions Record Component accessed by extensions(). | |
| extlangs | back to summary |
|---|---|
| private final List<String> extlangs Record Component accessed by extlangs(). | |
| language | back to summary |
|---|---|
| private final String language Record Component accessed by language(). | |
| privateuse | back to summary |
|---|---|
| private final String privateuse Record Component accessed by privateuse(). | |
| PRIVATEUSE | back to summary |
|---|---|
| public static final String PRIVATEUSE | |
| PRIVUSE_VARIANT_PREFIX | back to summary |
|---|---|
| public static final String PRIVUSE_VARIANT_PREFIX | |
| region | back to summary |
|---|---|
| private final String region Record Component accessed by region(). | |
| script | back to summary |
|---|---|
| private final String script Record Component accessed by script(). | |
| SEP | back to summary |
|---|---|
| public static final String SEP | |
| UNDETERMINED | back to summary |
|---|---|
| public static final String UNDETERMINED | |
| variants | back to summary |
|---|---|
| private final List<String> variants Record Component accessed by variants(). | |
| LanguageTag | back to summary |
|---|---|
| public LanguageTag(String language, String script, String region, String privateuse, List<String> extlangs, List<String> variants, List<String> extensions) | |
| canonicalizeExtension | back to summary |
|---|---|
| public static String canonicalizeExtension(String s) | |
| canonicalizeExtensionSingleton | back to summary |
|---|---|
| public static String canonicalizeExtensionSingleton(String s) | |
| canonicalizeExtensionSubtag | back to summary |
|---|---|
| public static String canonicalizeExtensionSubtag(String s) | |
| canonicalizeExtlang | back to summary |
|---|---|
| public static String canonicalizeExtlang(String s) | |
| canonicalizeLanguage | back to summary |
|---|---|
| public static String canonicalizeLanguage(String s) | |
| canonicalizePrivateuse | back to summary |
|---|---|
| public static String canonicalizePrivateuse(String s) | |
| canonicalizePrivateuseSubtag | back to summary |
|---|---|
| public static String canonicalizePrivateuseSubtag(String s) | |
| canonicalizeRegion | back to summary |
|---|---|
| public static String canonicalizeRegion(String s) | |
| canonicalizeScript | back to summary |
|---|---|
| public static String canonicalizeScript(String s) | |
| canonicalizeVariant | back to summary |
|---|---|
| public static String canonicalizeVariant(String s) | |
| caseFoldTag | back to summary |
|---|---|
| public static String caseFoldTag(String tag) | |
| equals | back to summary |
|---|---|
| public final boolean equals(Object o) Implements abstract java. Doc from java. Indicates whether some other object is "equal to" this one. In addition
to the general contract of
R copy = new R(r.c1(), r.c2(), ..., r.cn());
then it must be the case that r.equals(copy).
| |
| extensions | back to summary |
|---|---|
| public List Record Component getter of extensions. | |
| extlangs | back to summary |
|---|---|
| public List Record Component getter of extlangs. | |
| hashCode | back to summary |
|---|---|
| public final int hashCode() Implements abstract java. Doc from java. Returns a hash code value for the record.
Obeys the general contract of | |
| isExtensionSingleton | back to summary |
|---|---|
| public static boolean isExtensionSingleton(String s) | |
| isExtensionSingletonChar | back to summary |
|---|---|
| public static boolean isExtensionSingletonChar(char c) | |
| isExtensionSubtag | back to summary |
|---|---|
| public static boolean isExtensionSubtag(String s) | |
| isExtlang | back to summary |
|---|---|
| public static boolean isExtlang(String s) | |
| isLanguage | back to summary |
|---|---|
| public static boolean isLanguage(String s) | |
| isPrivateusePrefix | back to summary |
|---|---|
| public static boolean isPrivateusePrefix(String s) | |
| isPrivateusePrefixChar | back to summary |
|---|---|
| public static boolean isPrivateusePrefixChar(char c) | |
| isPrivateuseSubtag | back to summary |
|---|---|
| public static boolean isPrivateuseSubtag(String s) | |
| isRegion | back to summary |
|---|---|
| public static boolean isRegion(String s) | |
| isScript | back to summary |
|---|---|
| public static boolean isScript(String s) | |
| isVariant | back to summary |
|---|---|
| public static boolean isVariant(String s) | |
| language | back to summary |
|---|---|
| public String language() Record Component getter of language. | |
| legacyToPreferred | back to summary |
|---|---|
| private static String legacyToPreferred(String tag) | |
| parse | back to summary |
|---|---|
| public static LanguageTag parse(String languageTag, ParsePosition pp, boolean lenient) | |
| parseExtensions | back to summary |
|---|---|
| private static List | |
| parseExtlangs | back to summary |
|---|---|
| private static List | |
| parseLanguage | back to summary |
|---|---|
| private static String parseLanguage(StringTokenIterator itr, ParsePosition pp) | |
| parseLocale | back to summary |
|---|---|
| public static LanguageTag parseLocale(BaseLocale baseLocale, LocaleExtensions localeExtensions) | |
| parsePrivateuse | back to summary |
|---|---|
| private static String parsePrivateuse(StringTokenIterator itr, ParsePosition pp, StringBuilder err) | |
| parseRegion | back to summary |
|---|---|
| private static String parseRegion(StringTokenIterator itr, ParsePosition pp) | |
| parseScript | back to summary |
|---|---|
| private static String parseScript(StringTokenIterator itr, ParsePosition pp) | |
| parseVariants | back to summary |
|---|---|
| private static List | |
| privateuse | back to summary |
|---|---|
| public String privateuse() Record Component getter of privateuse. | |
| region | back to summary |
|---|---|
| public String region() Record Component getter of region. | |
| script | back to summary |
|---|---|
| public String script() Record Component getter of script. | |
| toString | back to summary |
|---|---|
| public String toString() Implements abstract java. Doc from java. Returns a string representation of the record.
In accordance with the general contract of In addition to this general contract, record classes must further participate in the invariant that any two records which are equal must produce equal strings. This invariant is necessarily relaxed in the rare case where corresponding equal component values might fail to produce equal strings for themselves.
| |
| variants | back to summary |
|---|---|
| public List Record Component getter of variants. | |