Top Description Fields Constructors Methods
org.apache.poi.hssf.record

public final Class OldStringRecord

extends Object
implements GenericRecord
Class Inheritance
All Implemented Interfaces
org.apache.poi.common.usermodel.GenericRecord
Imports
java.io.UnsupportedEncodingException, java.util.Map, java.util.function.Supplier, org.apache.poi.common.usermodel.GenericRecord, org.apache.poi.hpsf.Property, org.apache.poi.hssf.usermodel.HSSFWorkbook, org.apache.poi.util.CodePageUtil, .GenericRecordJsonWriter, .GenericRecordUtil, .IOUtils

Biff2 - Biff 4 Label Record (0x0007 / 0x0207) - read only support for formula string results.

Field Summary

Modifier and TypeField and Description
public static final short
public static final short
private CodepageRecord
private short
private byte[]
private short

Constructor Summary

AccessConstructor and Description
public
OldStringRecord(RecordInputStream
the RecordInputstream to read the record from
in
)

Method Summary

Modifier and TypeMethod and Description
public Map<String, Supplier<?>>
public HSSFRecordTypes
public short
public String

Returns:

The string represented by this record.
getString
()

protected static String
getString(byte[] data, CodepageRecord codepage)

public boolean
public void
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

biff2_sidback to summary
public static final short biff2_sid
biff345_sidback to summary
public static final short biff345_sid
codepageback to summary
private CodepageRecord codepage
field_1_string_lenback to summary
private short field_1_string_len
field_2_bytesback to summary
private byte[] field_2_bytes
sidback to summary
private short sid

Constructor Detail

OldStringRecordback to summary
public OldStringRecord(RecordInputStream in)
Parameters
in:RecordInputStream

the RecordInputstream to read the record from

Method Detail

getGenericPropertiesback to summary
public Map<String, Supplier<?>> getGenericProperties()

Implements org.apache.poi.common.usermodel.GenericRecord.getGenericProperties.

Annotations
@Override
getGenericRecordTypeback to summary
public HSSFRecordTypes getGenericRecordType()

Overrides default org.apache.poi.common.usermodel.GenericRecord.getGenericRecordType.

Annotations
@Override
getSidback to summary
public short getSid()
getStringback to summary
public String getString()
Returns:String

The string represented by this record.

getStringback to summary
protected static String getString(byte[] data, CodepageRecord codepage)
isBiff2back to summary
public boolean isBiff2()
setCodePageback to summary
public void setCodePage(CodepageRecord codepage)
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Returns:String

a string representation of the object