Package org.apache.poi.hssf.record
Class OldStringRecord
- java.lang.Object
-
- org.apache.poi.hssf.record.OldStringRecord
-
- All Implemented Interfaces:
GenericRecord
public final class OldStringRecord extends Object implements GenericRecord
Biff2 - Biff 4 Label Record (0x0007 / 0x0207) - read only support for formula string results.
-
-
Field Summary
Fields Modifier and Type Field Description static short
biff2_sid
static short
biff345_sid
-
Constructor Summary
Constructors Constructor Description OldStringRecord(RecordInputStream in)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Supplier<?>>
getGenericProperties()
HSSFRecordTypes
getGenericRecordType()
short
getSid()
String
getString()
protected static String
getString(byte[] data, CodepageRecord codepage)
boolean
isBiff2()
void
setCodePage(CodepageRecord codepage)
String
toString()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.poi.common.usermodel.GenericRecord
getGenericChildren
-
-
-
-
Field Detail
-
biff2_sid
public static final short biff2_sid
- See Also:
- Constant Field Values
-
biff345_sid
public static final short biff345_sid
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
OldStringRecord
public OldStringRecord(RecordInputStream in)
- Parameters:
in
- the RecordInputstream to read the record from
-
-
Method Detail
-
isBiff2
public boolean isBiff2()
-
getSid
public short getSid()
-
setCodePage
public void setCodePage(CodepageRecord codepage)
-
getString
public String getString()
- Returns:
- The string represented by this record.
-
getString
protected static String getString(byte[] data, CodepageRecord codepage)
-
getGenericRecordType
public HSSFRecordTypes getGenericRecordType()
- Specified by:
getGenericRecordType
in interfaceGenericRecord
-
getGenericProperties
public Map<String,Supplier<?>> getGenericProperties()
- Specified by:
getGenericProperties
in interfaceGenericRecord
-
-