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, toStringpublic 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)
PtgwriteBytes in class Ptgpublic String toFormulaString(Workbook book)
PtgtoFormulaString in class Ptgpublic byte getDefaultOperandClass()
getDefaultOperandClass in class PtgCopyright © 2015 Open Microscopy Environment