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

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `private static PropertyMap` | `instance` Do lazy loading of the huge file of languages.

  - ### Constructor Summary

    Constructors
    Modifier | Constructor and Description
    --- | ---
    `private` | `Languages.AllLanguages()` This is a singleton class.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `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.