| Modifier and Type | Field and Description |
|---|---|
| private static final byte[] | DATA_FORMAT_ID
File format version that this class understands. |
| private static final byte[] | |
| private DataInputStream | dataInputStream
ICU data file input stream |
| private byte[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public byte[] | |
| public byte[] | |
| public boolean | isDataVersionAcceptable(byte[] version)
Implements jdk. Method used in ICUBinary.readHeader() to provide data format authentication. |
| public void | |
| public int[] |
| DATA_FORMAT_ID | back to summary |
|---|---|
| private static final byte[] 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 | |
| dataInputStream | back to summary |
|---|---|
| private DataInputStream dataInputStream ICU data file input stream | |
| unicodeVersion | back to summary |
|---|---|
| private byte[] unicodeVersion | |
| StringPrepDataReader | back to summary |
|---|---|
| public StringPrepDataReader(InputStream inputStream) throws IOException private constructor.
| |
| getDataFormatVersion | back to summary |
|---|---|
| public byte[] getDataFormatVersion() | |
| getUnicodeVersion | back to summary |
|---|---|
| public byte[] getUnicodeVersion() | |
| isDataVersionAcceptable | back to summary |
|---|---|
| public boolean isDataVersionAcceptable(byte[] version) Implements jdk. Doc from jdk. Method used in ICUBinary.readHeader() to provide data format authentication. | |
| read | back to summary |
|---|---|
| public void read(byte[] idnaBytes, char[] mappingTable) throws IOException | |
| readIndexes | back to summary |
|---|---|
| public int[] readIndexes(int length) throws IOException | |