Top Description Methods
sun.util.locale.provider

public Interface LocaleDataMetaInfo

Known Direct Implementers
sun.util.cldr.CLDRBaseLocaleDataMetaInfo, sun.util.locale.provider.BaseLocaleDataMetaInfo
Imports
java.util.Map

LocaleData meta info SPI
Author
Naoto Sato

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

concatenated language tags, separated by a space.
availableLanguageTags
(String
category of the locale data.
category
)

Returns the string concatenation of the supported language tags in this LocaleData instance

public default Map<String, String>

Returns:

map of source language to replacement language, separated by a space.
getLanguageAliasMap
()

Returns a map for language aliases which specifies mapping from source language to from which it should be replaced.

public LocaleProviderAdapter.Type

Returns:

type The type of the adapter.
getType
()

Returns the type of LocaleProviderAdapter for which this LocaleData provides the data.

public default Map<String, String>

Returns:

map of ids to their canonical ids.
tzCanonicalIDs
()

Returns a map for time zone ids to their canonical ids.

Method Detail

availableLanguageTagsback to summary
public String availableLanguageTags(String category)

Returns the string concatenation of the supported language tags in this LocaleData instance

Parameters
category:String

category of the locale data.

Returns:String

concatenated language tags, separated by a space.

getLanguageAliasMapback to summary
public default Map<String, String> getLanguageAliasMap()

Returns a map for language aliases which specifies mapping from source language to from which it should be replaced.

Returns:Map<String, String>

map of source language to replacement language, separated by a space.

getTypeback to summary
public LocaleProviderAdapter.Type getType()

Returns the type of LocaleProviderAdapter for which this LocaleData provides the data.

Returns:LocaleProviderAdapter.Type

type The type of the adapter.

tzCanonicalIDsback to summary
public default Map<String, String> tzCanonicalIDs()

Returns a map for time zone ids to their canonical ids. The map key is either an LDML's short id, or a valid TZDB zone id.

Returns:Map<String, String>

map of ids to their canonical ids.