|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ILanguage
Generic interface for languages used in Wiktionary. Instances of ILanguage
are used in as entry language of IWiktionaryPage
s, the word
language of IWiktionaryEntry
s, and the target language
of IWiktionaryTranslation
s. Each language is encoded using the
international standard of language classification (ISO 639). Languages
are compared by their internal code.
Method Summary | |
---|---|
String |
getCode()
Returns the internal language code used by JWTKL. |
String |
getISO639_1()
Returns the ISO 639-1 code or an empty string if none. |
String |
getISO639_2B()
Returns the ISO 639-2b code or an empty string if none. |
String |
getISO639_2T()
Returns the ISO 639-2t code or an empty string if none. |
String |
getISO639_3()
Returns the ISO 639-3 code or an empty string if none. |
String |
getName()
Returns the language name (in English language). |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Method Detail |
---|
String getCode()
String getName()
String getISO639_1()
String getISO639_2B()
String getISO639_2T()
String getISO639_3()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |