Package loci.poi.hssf.record
Class LinkedDataFormulaField
- java.lang.Object
-
- loci.poi.hssf.record.LinkedDataFormulaField
-
- All Implemented Interfaces:
java.lang.Cloneable,CustomField
public class LinkedDataFormulaField extends java.lang.Object implements CustomField
Not implemented yet. May commit it anyway just so people can see where I'm heading.- Author:
- Glen Stampoultzis (glens at apache.org)
-
-
Constructor Summary
Constructors Constructor Description LinkedDataFormulaField()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectclone()intfillField(RecordInputStream in)Populates this fields data from the byte array passed in.java.util.StackgetFormulaTokens()intgetSize()intserializeField(int offset, byte[] data)Converts this field to it's byte array form.voidsetFormulaTokens(java.util.Stack formulaTokens)java.lang.StringtoString()voidtoString(java.lang.StringBuffer buffer)Appends the string representation of this field to the supplied StringBuffer.
-
-
-
Method Detail
-
getSize
public int getSize()
- Specified by:
getSizein interfaceCustomField- Returns:
- The size of this field in bytes. This operation is not valid
until after the call to
fillField()
-
fillField
public int fillField(RecordInputStream in)
Description copied from interface:CustomFieldPopulates this fields data from the byte array passed in.- Specified by:
fillFieldin interfaceCustomField- Parameters:
in- the RecordInputstream to read the record from
-
toString
public void toString(java.lang.StringBuffer buffer)
Description copied from interface:CustomFieldAppends the string representation of this field to the supplied StringBuffer.- Specified by:
toStringin interfaceCustomField- Parameters:
buffer- The string buffer to append to.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
serializeField
public int serializeField(int offset, byte[] data)Description copied from interface:CustomFieldConverts this field to it's byte array form.- Specified by:
serializeFieldin interfaceCustomField- Parameters:
offset- The offset into the byte array to start writing to.data- The data array to write to.- Returns:
- The number of bytes written.
-
clone
public java.lang.Object clone()
- Overrides:
clonein classjava.lang.Object
-
setFormulaTokens
public void setFormulaTokens(java.util.Stack formulaTokens)
-
getFormulaTokens
public java.util.Stack getFormulaTokens()
-
-