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 short
biff2_sid
static short
biff345_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()
HSSFRecordTypes
getGenericRecordType()
short
getSid()
java.lang.String
getString()
boolean
isBiff2()
void
setCodePage(CodepageRecord codepage)
java.lang.String
toString()
-
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:
getGenericRecordType
in interfaceGenericRecord
-
getGenericProperties
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
- Specified by:
getGenericProperties
in interfaceGenericRecord
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-