Extends GeneralLegacyIndexCodes with Access-97-specific character tables and an additional
mapping file for extended characters. The overall byte-format structure is shared with the legacy
variant, but Access 97 uses a narrower set of extended character mappings rather than per-character
extra-byte tables.
Character handlers are loaded lazily from:
index_codes_gen_97.txt – U+0000 to U+00FFindex_mappings_ext_gen_97.txt – mapping table for U+0152 to U+2122ColumnImpl#GENERAL_97_SORT_ORDER, GeneralLegacyIndexCodes
| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class | |
| protected static class | General97IndexCodes.
Extension of ByteStream which enables writing individual nibbles. |
| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private static final byte | |
| private static final String | |
| private static final char | |
| pack-priv static final General97IndexCodes | |
| private static final char |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv GeneralLegacyIndexCodes. | getCharHandler(char c)
Overrides io. Returns the CharHandler for the given character. |
| pack-priv static short[] | |
| private static void | |
| pack-priv void | writeNonNullIndexTextValue(Object value, ByteUtil.
Overrides io. Converts a 97 index value for a text column into the entry value (which is based on a variety of nifty codes). |
| CODES_FILE | back to summary |
|---|---|
| private static final String CODES_FILE Hides io. | |
| EXT_CODES_BOUNDS_NIBBLE | back to summary |
|---|---|
| private static final byte EXT_CODES_BOUNDS_NIBBLE | |
| EXT_MAPPINGS_FILE | back to summary |
|---|---|
| private static final String EXT_MAPPINGS_FILE | |
| FIRST_MAP_CHAR | back to summary |
|---|---|
| private static final char FIRST_MAP_CHAR | |
| GEN_97_INSTANCE | back to summary |
|---|---|
| pack-priv static final General97IndexCodes GEN_97_INSTANCE | |
| LAST_MAP_CHAR | back to summary |
|---|---|
| private static final char LAST_MAP_CHAR | |
| General97IndexCodes | back to summary |
|---|---|
| pack-priv General97IndexCodes() | |
| getCharHandler | back to summary |
|---|---|
| pack-priv GeneralLegacyIndexCodes. Overrides io. Returns the CharHandler for the given character.
| |
| loadMappings | back to summary |
|---|---|
| pack-priv static short[] loadMappings(String mappingsFilePath, char firstChar, char lastChar) | |
| writeExtraCodes | back to summary |
|---|---|
| private static void writeExtraCodes(int numSigChars, byte[] bytes, General97IndexCodes. | |
| writeNonNullIndexTextValue | back to summary |
|---|---|
| pack-priv void writeNonNullIndexTextValue(Object value, ByteUtil. Overrides io. Converts a 97 index value for a text column into the entry value (which is based on a variety of nifty codes).
| |
| Modifier and Type | Field and Description |
|---|---|
| private static final GeneralLegacyIndexCodes. | VALUES
handlers for the first 256 chars. |
| Access | Constructor and Description |
|---|---|
| private |
| VALUES | back to summary |
|---|---|
| private static final GeneralLegacyIndexCodes. handlers for the first 256 chars. use nested class to lazy load the handlers | |
| Codes | back to summary |
|---|---|
| private Codes() | |
| Modifier and Type | Field and Description |
|---|---|
| private static final short[] | VALUES
mappings for a small subset of the rest of the chars in BMP 0. |
| Access | Constructor and Description |
|---|---|
| private |
| VALUES | back to summary |
|---|---|
| private static final short[] VALUES mappings for a small subset of the rest of the chars in BMP 0. use nested class to lazy load the handlers. since these codes are for single byte encodings, you would think you wouldn't need any ext codes. however, some chars in the extended range have corollaries in the single byte range. this array holds the mappings from the ext range to the single byte range. chars without mappings go to 0 (ignored). | |
| ExtMappings | back to summary |
|---|---|
| private ExtMappings() | |
| Modifier and Type | Field and Description |
|---|---|
| private int |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private static int | |
| private static int | |
| private boolean | |
| public void | |
| private void | |
| public void |
| nibbleLen | back to summary |
|---|---|
| private int nibbleLen | |
| NibbleStream | back to summary |
|---|---|
| pack-priv NibbleStream(int length) | |
| asHiNibble | back to summary |
|---|---|
| private static int asHiNibble(int b) | |
| asLowNibble | back to summary |
|---|---|
| private static int asLowNibble(int b) | |
| nextIsHi | back to summary |
|---|---|
| private boolean nextIsHi() | |
| writeFillNibbles | back to summary |
|---|---|
| public void writeFillNibbles(int length, byte b) | |
| writeLowNibble | back to summary |
|---|---|
| private void writeLowNibble(int b) | |
| writeNibble | back to summary |
|---|---|
| public void writeNibble(int b) | |