|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.foray.ps.encode.CharSet4a
public class CharSet4a
The FOray implementation of CharSet.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.axsl.ps.CharSet |
|---|
org.axsl.ps.CharSet.Predefined |
| Field Summary | |
|---|---|
static long |
serialVersionUID
Constant needed for serialization. |
| Constructor Summary | |
|---|---|
CharSet4a(String name,
char[] characterSet)
Constructor suitable for character sets that contain only 16-bit characters. |
|
CharSet4a(String name,
int[] characterSet)
General constructor suitable for character sets containing 16-bit codePoints, 32-bit code points, or both. |
|
| Method Summary | |
|---|---|
int |
getIndex(int codePoint)
|
String |
getName()
Returns the name of this character set. |
static CharSet4a |
getRegisteredCharSet(org.axsl.ps.CharSet.Predefined predefined)
Returns a predefined character set from its enumeration. |
static CharSet4a |
getRegisteredCharSet(String name)
This is a factory method that either finds or creates the known predefined CharSet instances. |
boolean |
isStatic()
Indicates whether the data in this character set is static, that is, tied entirely to the class itself and not built dynamically. |
int |
size()
Returns the size, in characters, of this character set. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final long serialVersionUID
| Constructor Detail |
|---|
public CharSet4a(String name,
char[] characterSet)
CharSet4a(String, int[]) instead.
name - The name of this character set.characterSet - The array containing the code points in this
character set.
public CharSet4a(String name,
int[] characterSet)
CharSet4a(String, char[]) may also be used.
name - The name of this character set.characterSet - The array containing the code points in this
character set.| Method Detail |
|---|
public String getName()
public int getIndex(int codePoint)
getIndex in interface org.axsl.ps.CharSetpublic static CharSet4a getRegisteredCharSet(String name)
name - The name of the predefined charset to be returned.
name, or null if
name does not describe a predefined character set.public static CharSet4a getRegisteredCharSet(org.axsl.ps.CharSet.Predefined predefined)
predefined - The enumeration of the predefined character sets.
predefined.public int size()
size in interface org.axsl.ps.CharSetpublic boolean isStatic()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||