public class TLcdGDFLanguage
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription()
Returns the textual description of this language.
|
static TLcdGDFLanguage |
getLanguage(int aIndex)
Returns the language at the given index.
|
static TLcdGDFLanguage |
getLanguage(java.lang.String aMarcCode)
Returns the language with the given MARC Language Code.
|
static int |
getLanguageCount()
Returns the number of languages that are available.
|
java.lang.String |
getMarcLanguageCode()
Returns the MARC Language Code of this language.
|
java.lang.String |
toString()
Returns the textual description of this language.
|
public static int getLanguageCount()
public static TLcdGDFLanguage getLanguage(int aIndex)
aIndex
- the index of the language to be returned.java.lang.IndexOutOfBoundsException
public static TLcdGDFLanguage getLanguage(java.lang.String aMarcCode)
aMarcCode
- the MARC Language Code of the language to be returned.java.lang.IllegalArgumentException
- if no language exists for the given MARC Language Code.public java.lang.String getMarcLanguageCode()
public java.lang.String getDescription()
public java.lang.String toString()
toString
in class java.lang.Object