|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--upidiff.i18n.Language
This class represents a national language selection.
Catalog| Field Summary | |
private String |
country
The ISO country code for this language. |
private String |
description
The descriptive text for this language. |
private String |
lang
The ISO language code for this language. |
| Constructor Summary | |
(package private) |
Language(String country,
String lang,
String description)
Creates a new language selection. |
| Method Summary | |
boolean |
equals(Object other)
Compares two languages. |
String |
getCountry()
Queries the ISO country code. |
String |
getDescription()
Queries the descriptive text. |
String |
getLang()
Queries the ISO language code. |
Locale |
locale()
Queries the locale for this language. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private String country
private String description
private String lang
| Constructor Detail |
Language(String country,
String lang,
String description)
country - ISO country code.lang - ISO language code.description - Descriptive text for the language.| Method Detail |
public String getCountry()
public String getDescription()
public String getLang()
public Locale locale()
Localepublic boolean equals(Object other)
equals in class Objectother - Language to compare to.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||