org.kuali.ole.docstore.discovery.util
Class Languages

java.lang.Object
  extended by org.kuali.ole.docstore.discovery.util.Languages

public class Languages
extends Object


Field Summary
static String ISO_639_1_CC
           
static String ISO_639_3
           
 
Method Summary
static Languages getInstance(String encoding)
          Method to give out the Single Instance of Languages.
 org.kuali.ole.docstore.discovery.util.Languages.Language getLanguage(String code)
          Method to give language.
 String getLanguageDescription(String code)
          Method to give language description.
 List<org.kuali.ole.docstore.discovery.util.Languages.Language> getLanguages()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ISO_639_1_CC

public static final String ISO_639_1_CC
See Also:
Constant Field Values

ISO_639_3

public static final String ISO_639_3
See Also:
Constant Field Values
Method Detail

getInstance

public static Languages getInstance(String encoding)
Method to give out the Single Instance of Languages.

Parameters:
encoding - - Specify the encoding type of the languages expected.
Returns:

getLanguage

public org.kuali.ole.docstore.discovery.util.Languages.Language getLanguage(String code)
Method to give language. If not a valid language gives null.

Parameters:
code -
Returns:

getLanguageDescription

public String getLanguageDescription(String code)
Method to give language description. If not a valid language gives null.

Parameters:
code -
Returns:

getLanguages

public List<org.kuali.ole.docstore.discovery.util.Languages.Language> getLanguages()


Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.