Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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.

Constructor Summary
`private` | `Languages.AllLanguages()` This is a singleton class.

Method Summary
`static String` | `getName(String languageCode)` Get the language name for the code.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### instance

    private static PropertyMap instance

  Do lazy loading of the huge file of languages. Note: It is OK for it not to be present.

Constructor Detail

### Languages.AllLanguages

    private Languages.AllLanguages()

  This is a singleton class. Do not allow construction.

Method Detail

### 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` - the language code
  Returns:
    the name for the language.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Copyright ¨ 2003-2015
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD