|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dspace.content.DCLanguage
public class DCLanguage
Utility class for dealing with languages
| Constructor Summary | |
|---|---|
DCLanguage(String l)
Construct a language object from a database entry |
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DCLanguage(String l)
l - the language text from the database| Method Detail |
|---|
public String toString()
toString in class Objectpublic void setLanguage(String l)
l - The language and country code, e.g. "en_US" or "fr"public String getDisplayName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||