|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.crosswire.common.util.Language
public class Language
A single language, paring an ISO-639 code to a localized representation of the language.
for license details.
The copyright to this program is held by it's authors.| Field Summary | |
|---|---|
private String |
code
|
static Language |
DEFAULT_LANG
|
private boolean |
knowsDirection
|
private boolean |
ltor
|
private String |
name
|
| Constructor Summary | |
|---|---|
Language(String iso639Code)
A single language defined by an ISO-639 code. |
|
| Method Summary | |
|---|---|
int |
compareTo(Object o)
|
boolean |
equals(Object obj)
|
String |
getCode()
Get the language code. |
String |
getName()
Get the language name. |
int |
hashCode()
|
boolean |
isLeftToRight()
Determine whether this language is a Left-to-Right or a Right-to-Left language. |
boolean |
isValidLanguage()
Determine whether this language is valid. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final Language DEFAULT_LANG
private String code
private String name
private boolean knowsDirection
private boolean ltor
| Constructor Detail |
|---|
public Language(String iso639Code)
iso639Code - the particular language| Method Detail |
|---|
public boolean isValidLanguage()
public String getCode()
public String getName()
public boolean isLeftToRight()
public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic String toString()
toString in class Objectpublic int compareTo(Object o)
compareTo in interface Comparable
|
Copyright ยจ 2003-2007 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||