public class StringPtg extends Ptg
| Modifier and Type | Field and Description |
|---|---|
static byte |
sid |
static int |
SIZE |
CLASS_ARRAY, CLASS_REF, CLASS_VALUE, ptgClass| Constructor and Description |
|---|
StringPtg(RecordInputStream in)
Create a StringPtg from a byte array read from disk
|
StringPtg(java.lang.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 |
|---|---|
java.lang.Object |
clone() |
byte |
getDefaultOperandClass() |
int |
getSize() |
java.lang.String |
getValue() |
java.lang.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, toStringpublic static final int SIZE
public static final byte sid
public StringPtg(RecordInputStream in)
public StringPtg(java.lang.String value)
value - : String representation of a floating point numberpublic java.lang.String getValue()
public void writeBytes(byte[] array,
int offset)
PtgwriteBytes in class Ptgpublic java.lang.String toFormulaString(Workbook book)
PtgtoFormulaString in class Ptgpublic byte getDefaultOperandClass()
getDefaultOperandClass in class PtgCopyright © 2014 Open Microscopy Environment