public class DCLanguage extends Object
| Constructor and Description |
|---|
DCLanguage(String l)
Construct a language object from a database entry
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDisplayName()
Get the displayable name for this language
|
void |
setLanguage(String l)
Set the language and country
|
String |
toString()
Write the language out to the database
|
public DCLanguage(String l)
l - the language text from the databasepublic String toString()
public final void setLanguage(String l)
l - The language and country code, e.g. "en_US" or "fr"public String getDisplayName()
Copyright © 2014 DuraSpace. All Rights Reserved.