| Modifier and Type | Field and Description |
|---|---|
| private ByteBuffer | byteBuffer
ICU data file input stream |
| private static final int | DATA_FORMAT_ID
File format version that this class understands. |
| private static final byte[] | |
| private static final boolean | |
| private int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public byte[] | |
| public boolean | isDataVersionAcceptable(byte[]
version of the current data version)Implements com. |
| public char[] | |
| public int[] |
| byteBuffer | back to summary |
|---|---|
| private ByteBuffer byteBuffer ICU data file input stream | |
| DATA_FORMAT_ID | back to summary |
|---|---|
| private static final int DATA_FORMAT_ID File format version that this class understands. No guarantees are made if a older version is used see store.c of gennorm for more information and values | |
| DATA_FORMAT_VERSION | back to summary |
|---|---|
| private static final byte[] DATA_FORMAT_VERSION | |
| debug | back to summary |
|---|---|
| private static final boolean debug | |
| unicodeVersion | back to summary |
|---|---|
| private int unicodeVersion | |
| StringPrepDataReader | back to summary |
|---|---|
| public StringPrepDataReader(ByteBuffer bytes) throws IOException private constructor.
| |
| getUnicodeVersion | back to summary |
|---|---|
| public byte[] getUnicodeVersion() | |
| isDataVersionAcceptable | back to summary |
|---|---|
| public boolean isDataVersionAcceptable(byte[] version) Implements com. Doc from com. Method used in ICUBinary.readHeader() to provide data format authentication.
| |
| read | back to summary |
|---|---|
| public char[] read(int length) throws IOException | |
| readIndexes | back to summary |
|---|---|
| public int[] readIndexes(int length) throws IOException | |