Save This Page
Home » poi-src-3.2-FINAL-20081019 » org.apache » poi » hssf » record » formula » [javadoc | source]
org.apache.poi.hssf.record.formula
public final class: StringPtg [javadoc | source]
java.lang.Object
   org.apache.poi.hssf.record.formula.Ptg
      org.apache.poi.hssf.record.formula.ScalarConstantPtg
         org.apache.poi.hssf.record.formula.StringPtg

All Implemented Interfaces:
    Cloneable

String Stores a String value in a formula value stored in the format <length 2 bytes>char[]
Field Summary
public static final  int SIZE     
public static final  byte sid     
Fields inherited from org.apache.poi.hssf.record.formula.Ptg:
CLASS_REF,  CLASS_VALUE,  CLASS_ARRAY
Constructor:
 public StringPtg(RecordInputStream in) 
    Create a StringPtg from a stream
 public 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.
    Parameters:
    value - : String representation of a floating point number
Method from org.apache.poi.hssf.record.formula.StringPtg Summary:
getSize,   getValue,   toFormulaString,   toString,   writeBytes
Methods from org.apache.poi.hssf.record.formula.ScalarConstantPtg:
getDefaultOperandClass,   isBaseToken
Methods from org.apache.poi.hssf.record.formula.Ptg:
clone,   copy,   createParsedExpressionTokens,   createPtg,   getBytes,   getDefaultOperandClass,   getEncodedSize,   getEncodedSize,   getPtgClass,   getSize,   isBaseToken,   readTokens,   serializePtgStack,   serializePtgs,   setClass,   toDebugString,   toFormulaString,   toString,   writeBytes
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.poi.hssf.record.formula.StringPtg Detail:
 public int getSize() 
 public String getValue() 
 public String toFormulaString(HSSFWorkbook book) 
 public String toString() 
 public  void writeBytes(byte[] array,
    int offset)