org.dspace.text.filter
Class Language

java.lang.Object
  extended by org.dspace.text.filter.Language

public class Language
extends Object

Define languages - both as IANA and ISO639-2 codes

Author:
Graham Triggs

Field Summary
static Language AFRIKAANS
           
static Language ALBANIAN
           
static Language ARABIC
           
static Language BALUCHI
           
static Language BASQUE
           
static Language BRAHUI
           
static Language CATALAN
           
static Language CLASSICAL_GREEK
           
static Language DANISH
           
static Language DUTCH
           
static Language ENGLISH
           
static Language ESPERANTO
           
static Language FRENCH
           
static Language FRISIAN
           
static Language GALICIAN
           
static Language GERMAN
           
static Language GREEK
           
static Language HAWAIIAN
           
static Language HEBREW
           
static Language HUNGARIAN
           
 String IANA
           
static Language ICELANDIC
           
static Language IRISH
           
 String ISO639_1
           
 String ISO639_2
           
static Language ITALIAN
           
static Language MALAGASY
           
static Language MALTESE
           
static Language NEAPOLITAN_ITALIAN
           
static Language NORWEGIAN
           
static Language PANJABI
           
static Language PERSIAN
           
static Language PORTUGUESE
           
static Language PROVENCAL
           
static Language PROVENCAL_OCCITAN
           
static Language ROMANIAN
           
static Language SCOTS
           
static Language SCOTTISH_GAELIC
           
static Language SHETLAND_ENGLISH
           
static Language SPANISH
           
static Language SWEDISH
           
static Language TAGALOG
           
static Language TURKISH
           
static Language URDU
           
static Language WALLOON
           
static Language WELSH
           
static Language YIDDISH
           
 
Method Summary
static Language getLanguage(String lang)
           
static Language getLanguageForIANA(String iana)
           
static Language getLanguageForISO639_2(String iso)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

IANA

public final String IANA

ISO639_1

public final String ISO639_1

ISO639_2

public final String ISO639_2

AFRIKAANS

public static Language AFRIKAANS

ALBANIAN

public static Language ALBANIAN

ARABIC

public static Language ARABIC

BALUCHI

public static Language BALUCHI

BASQUE

public static Language BASQUE

BRAHUI

public static Language BRAHUI

CATALAN

public static Language CATALAN

CLASSICAL_GREEK

public static Language CLASSICAL_GREEK

DANISH

public static Language DANISH

DUTCH

public static Language DUTCH

ENGLISH

public static Language ENGLISH

ESPERANTO

public static Language ESPERANTO

FRENCH

public static Language FRENCH

FRISIAN

public static Language FRISIAN

GALICIAN

public static Language GALICIAN

GERMAN

public static Language GERMAN

GREEK

public static Language GREEK

HAWAIIAN

public static Language HAWAIIAN

HEBREW

public static Language HEBREW

HUNGARIAN

public static Language HUNGARIAN

ICELANDIC

public static Language ICELANDIC

IRISH

public static Language IRISH

ITALIAN

public static Language ITALIAN

MALAGASY

public static Language MALAGASY

MALTESE

public static Language MALTESE

NEAPOLITAN_ITALIAN

public static Language NEAPOLITAN_ITALIAN

NORWEGIAN

public static Language NORWEGIAN

PORTUGUESE

public static Language PORTUGUESE

PANJABI

public static Language PANJABI

PERSIAN

public static Language PERSIAN

PROVENCAL

public static Language PROVENCAL

PROVENCAL_OCCITAN

public static Language PROVENCAL_OCCITAN

ROMANIAN

public static Language ROMANIAN

SCOTS

public static Language SCOTS

SCOTTISH_GAELIC

public static Language SCOTTISH_GAELIC

SHETLAND_ENGLISH

public static Language SHETLAND_ENGLISH

SPANISH

public static Language SPANISH

SWEDISH

public static Language SWEDISH

TAGALOG

public static Language TAGALOG

TURKISH

public static Language TURKISH

URDU

public static Language URDU

WALLOON

public static Language WALLOON

WELSH

public static Language WELSH

YIDDISH

public static Language YIDDISH
Method Detail

getLanguage

public static Language getLanguage(String lang)

getLanguageForIANA

public static Language getLanguageForIANA(String iana)

getLanguageForISO639_2

public static Language getLanguageForISO639_2(String iso)


Copyright © 2010 DuraSpace. All Rights Reserved.