|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.foray.common.i18n.Script4a
public final class Script4a
Script codes using the ISO-15924 standard.
Field Summary | |
---|---|
static Script4a |
CYRILLIC
The Cyrillic script. |
static Script4a |
LATIN
The Latin script. |
static Script4a |
UNDETERMINED
The script representing an undetermined value. |
Method Summary | |
---|---|
boolean |
equals(Object other)
|
static Script4a |
findFromAlpha(String alphaCode)
Finds an instance of this class from a given alpha script code as defined in ISO 15924. |
static Script4a |
findFromNumeric(int numericCode)
Finds an instance of this class from a given alpha script code as defined in ISO 15924. |
String |
getAlphaCode()
|
String |
getEnglishName()
|
String |
getFrenchName()
|
short |
getNumericCode()
|
int |
hashCode()
|
static void |
register(Script4a script)
Registers script information. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final Script4a UNDETERMINED
public static final Script4a LATIN
public static final Script4a CYRILLIC
Method Detail |
---|
public String getAlphaCode()
getAlphaCode
in interface org.axsl.common.i18n.Script
public short getNumericCode()
getNumericCode
in interface org.axsl.common.i18n.Script
public String getEnglishName()
getEnglishName
in interface org.axsl.common.i18n.Script
public String getFrenchName()
getFrenchName
in interface org.axsl.common.i18n.Script
public static void register(Script4a script)
script
- The script to be registered.public static Script4a findFromAlpha(String alphaCode)
alphaCode
- The 4-letter ISO 15924 code.
alphaCode
, or null if the code is not registered.public static Script4a findFromNumeric(int numericCode)
numericCode
- The numeric ISO 15924 code.
numericCode
, or null if the code is not registered.public String toString()
toString
in class Object
public boolean equals(Object other)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |