APIdia Launch Partner
Top Description Inners Fields Constructors Methods
io.github.spannm.jackcess.impl.expr

public final Class LocaleUtil

extends Object
Class Inheritance
Imports
java.util.Collections, .HashMap, .Locale, .Map

Maps Windows Locale Identifier (LCID) values, as used for MS Access collating sort orders, to a display name and a corresponding Java Locale.

Contains only the LCIDs that are known to appear as database-level or column-level sort orders in MS Access databases.

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
LocaleUtil.LcidInfo

Holds the display name and Java Locale for a Windows LCID.

Field Summary

Modifier and TypeField and Description
private static final Map<Integer, LocaleUtil.LcidInfo>

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
private static void
entry(Map<Integer, LocaleUtil.LcidInfo> m, int lcid, String name, Locale locale)

public static LocaleUtil.LcidInfo
getInfo(int localeId)

Returns the display name and Locale for the given Windows LCID, or null if the LCID is not recognised.

private static Locale
lc(String languageTag)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

LCID_TO_INFOback to summary
private static final Map<Integer, LocaleUtil.LcidInfo> LCID_TO_INFO

Constructor Detail

LocaleUtilback to summary
private LocaleUtil()

Method Detail

entryback to summary
private static void entry(Map<Integer, LocaleUtil.LcidInfo> m, int lcid, String name, Locale locale)
getInfoback to summary
public static LocaleUtil.LcidInfo getInfo(int localeId)

Returns the display name and Locale for the given Windows LCID, or null if the LCID is not recognised.

lcback to summary
private static Locale lc(String languageTag)
io.github.spannm.jackcess.impl.expr back to summary

public final Class LocaleUtil.LcidInfo

extends Object
Class Inheritance

Holds the display name and Java Locale for a Windows LCID.

Field Summary

Modifier and TypeField and Description
private final Locale
private final String

Constructor Summary

AccessConstructor and Description
private
LcidInfo(String name, Locale locale)

Method Summary

Modifier and TypeMethod and Description
public Locale
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

localeback to summary
private final Locale locale
nameback to summary
private final String name

Constructor Detail

LcidInfoback to summary
private LcidInfo(String name, Locale locale)

Method Detail

getLocaleback to summary
public Locale getLocale()
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Annotations
@Override