public class StringPtg extends Ptg
Modifier and Type | Field and Description |
---|---|
(package private) BitField |
fHighByte |
(package private) int |
field_1_length |
(package private) byte |
field_2_options |
private String |
field_3_string |
static byte |
sid |
static int |
SIZE |
CLASS_ARRAY, CLASS_REF, CLASS_VALUE, ptgClass
Modifier | Constructor and Description |
---|---|
private |
StringPtg() |
|
StringPtg(RecordInputStream in)
Create a StringPtg from a byte array read from disk
|
|
StringPtg(String value)
Create a StringPtg from a string representation of the number
Number format is not checked, it is expected to be validated in the parser
that calls this method.
|
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
byte |
getDefaultOperandClass() |
int |
getSize() |
String |
getValue() |
String |
toFormulaString(Workbook book)
return a string representation of this token alone
|
void |
writeBytes(byte[] array,
int offset)
write this Ptg to a byte array
|
createParsedExpressionTokens, createPtg, getBytes, getPtgClass, serializePtgStack, setClass, toDebugString, toString
public static final int SIZE
public static final byte sid
int field_1_length
byte field_2_options
BitField fHighByte
private String field_3_string
private StringPtg()
public StringPtg(RecordInputStream in)
public StringPtg(String value)
value
- : String representation of a floating point numberpublic String getValue()
public void writeBytes(byte[] array, int offset)
Ptg
writeBytes
in class Ptg
public String toFormulaString(Workbook book)
Ptg
toFormulaString
in class Ptg
public byte getDefaultOperandClass()
getDefaultOperandClass
in class Ptg
Copyright © 2015 Open Microscopy Environment