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 java.lang.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 shortbiff2_sidstatic shortbiff345_sid
-
Constructor Summary
Constructors Constructor Description OldStringRecord(RecordInputStream in)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.util.function.Supplier<?>>getGenericProperties()HSSFRecordTypesgetGenericRecordType()shortgetSid()java.lang.StringgetString()booleanisBiff2()voidsetCodePage(CodepageRecord codepage)java.lang.StringtoString()-
Methods inherited from class java.lang.Object
equals, 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 java.lang.String getString()
- Returns:
- The string represented by this record.
-
getGenericRecordType
public HSSFRecordTypes getGenericRecordType()
- Specified by:
getGenericRecordTypein interfaceGenericRecord
-
getGenericProperties
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
- Specified by:
getGenericPropertiesin interfaceGenericRecord
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-