org.crosswire.common.util
Class Languages.AllLanguages
java.lang.Object
org.crosswire.common.util.Languages.AllLanguages
- Enclosing class:
- Languages
public static final class Languages.AllLanguages
- extends Object
Provide a fallback lookup against a huge list of all languages.
The basic list has a few hundred languages. The full list has
over 7000. As a fallback, this file is not internationalized.
Field Summary |
private static PropertyMap |
instance
Do lazy loading of the huge file of languages. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
instance
private static PropertyMap instance
- Do lazy loading of the huge file of languages.
Note: It is OK for it not to be present.
Languages.AllLanguages
private Languages.AllLanguages()
- This is a singleton class. Do not allow construction.
getName
public static String getName(String languageCode)
- Get the language name for the code. If the language name is not known
then return the code.
- Parameters:
languageCode
-
- Returns:
- the name for the language.