de.axelwernicke.mypod.util
Class LanguageUtils

java.lang.Object
  extended byde.axelwernicke.mypod.util.LanguageUtils

public class LanguageUtils
extends java.lang.Object

Author:
axel wernicke

Constructor Summary
LanguageUtils()
           
 
Method Summary
static java.util.Vector getAllLanguageNames()
          Gets names of all iso 639_2 languages
static java.lang.String getLanguageCode(java.lang.String language)
          Gets the language code (iso 639-2) for a language name
static java.lang.String getLanguageName(java.lang.String langCode)
          Gets the name of a language from a language code (iso 639-2)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LanguageUtils

public LanguageUtils()
Method Detail

getLanguageCode

public static java.lang.String getLanguageCode(java.lang.String language)
Gets the language code (iso 639-2) for a language name

Parameters:
language -
Returns:

getLanguageName

public static java.lang.String getLanguageName(java.lang.String langCode)
Gets the name of a language from a language code (iso 639-2)

Parameters:
langCode -
Returns:

getAllLanguageNames

public static java.util.Vector getAllLanguageNames()
Gets names of all iso 639_2 languages