Method Summary |
|
public int | byteCount() Return the number of bytes in the alphabet. |
public int | charCount() Return the number of characters in the alphabet. |
public static ByteAlphabet | cjkSubsetUTF16BE() Create an alphabet returning bytes representing a subset of the CJK
alphabet in the UTF-16BE encoding. |
public static ByteAlphabet | cjkSubsetUTF8() Create an alphabet returning bytes representing a subset of the CJK
alphabet in the UTF-8 encoding. |
public String | getEncoding() Return the encoding used to represent characters as bytes. |
public String | getName() Return the name of the alphabet. |
public static ByteAlphabet | modernLatinLowercase() Create an alphabet returning bytes representing the lowercase letters
a-z in the "US-ASCII" encoding. |
public byte | nextByte() Return the next byte in the alphabet. |
public int | nextByteToRead(int bytesRead) Compute the next byte to read after reading the specified number
of bytes. |
public static ByteAlphabet | norwegianLowercase() Create an alphabet returning bytes representing the 29 lowercase
letters in the Norwegian/Danish alphabet in the "ISO-8859-1" encoding. |
public void | reset() Reset the alphabet, the next byte returned is the first byte in the
alphabet, which might not be a complete character. |
public static ByteAlphabet | tamilUTF16BE() Create an alphabet returning bytes representing a subset of the Tamil
alphabet in the UTF-16BE encoding. |
public static ByteAlphabet | tamilUTF8() Create an alphabet returning bytes representing a subset of the Tamil
alphabet in the UTF-8 encoding. |