Use CodePageUtil to turn these values into Java code pages to encode/decode strings.
| Modifier and Type | Field and Description |
|---|---|
| public static final short | CODEPAGE
Excel 97+ (Biff 8) should always store strings as UTF-16LE or compressed versions of that. |
| private short | |
| public static final short |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public CodepageRecord | copy()
Implements abstract org. Implements org.
|
| public short | |
| protected int | |
| public Map | |
| public HSSFRecordTypes | getGenericRecordType()
Overrides default org. Implements abstract org.
|
| public short | getSid()
Implements abstract org. return the non static version of the id for this record. |
| public void | serialize(LittleEndianOutput
the output object out)Implements abstract org. Write the data content of this BIFF record. |
| public void |
| CODEPAGE | back to summary |
|---|---|
| public static final short CODEPAGE Excel 97+ (Biff 8) should always store strings as UTF-16LE or compressed versions of that. As such, this should always be 0x4b0 = UTF_16, except for files coming from older versions. | |
| field_1_codepage | back to summary |
|---|---|
| private short field_1_codepage | |
| sid | back to summary |
|---|---|
| public static final short sid | |
| CodepageRecord | back to summary |
|---|---|
| public CodepageRecord() | |
| CodepageRecord | back to summary |
|---|---|
| public CodepageRecord(CodepageRecord other) | |
| CodepageRecord | back to summary |
|---|---|
| public CodepageRecord(RecordInputStream in) | |
| copy | back to summary |
|---|---|
| public CodepageRecord copy() Implements abstract org. Implements org.
| |
| getCodepage | back to summary |
|---|---|
| public short getCodepage() get the codepage for this workbook
| |
| getDataSize | back to summary |
|---|---|
| protected int getDataSize() Implements abstract org. | |
| getGenericProperties | back to summary |
|---|---|
| public Map Implements org.
| |
| getGenericRecordType | back to summary |
|---|---|
| public HSSFRecordTypes getGenericRecordType() Overrides default org. Implements abstract org.
| |
| getSid | back to summary |
|---|---|
| public short getSid() Implements abstract org. Doc from org. return the non static version of the id for this record.
| |
| serialize | back to summary |
|---|---|
| public void serialize(LittleEndianOutput out) Implements abstract org. Doc from org. Write the data content of this BIFF record. The 'ushort sid' and 'ushort size' header fields have already been written by the superclass.
The number of bytes written must equal the record size reported by
| |
| setCodepage | back to summary |
|---|---|
| public void setCodepage(short cp) set the codepage for this workbook
| |