Package loci.poi.hssf.record
Class LinkedDataFormulaField
- java.lang.Object
-
- loci.poi.hssf.record.LinkedDataFormulaField
-
- All Implemented Interfaces:
Cloneable
,CustomField
public class LinkedDataFormulaField extends 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 Object
clone()
int
fillField(RecordInputStream in)
Populates this fields data from the byte array passed in.Stack
getFormulaTokens()
int
getSize()
int
serializeField(int offset, byte[] data)
Converts this field to it's byte array form.void
setFormulaTokens(Stack formulaTokens)
String
toString()
void
toString(StringBuffer buffer)
Appends the string representation of this field to the supplied StringBuffer.
-
-
-
Method Detail
-
getSize
public int getSize()
- Specified by:
getSize
in 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:CustomField
Populates this fields data from the byte array passed in.- Specified by:
fillField
in interfaceCustomField
- Parameters:
in
- the RecordInputstream to read the record from
-
toString
public void toString(StringBuffer buffer)
Description copied from interface:CustomField
Appends the string representation of this field to the supplied StringBuffer.- Specified by:
toString
in interfaceCustomField
- Parameters:
buffer
- The string buffer to append to.
-
serializeField
public int serializeField(int offset, byte[] data)
Description copied from interface:CustomField
Converts this field to it's byte array form.- Specified by:
serializeField
in 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.
-
setFormulaTokens
public void setFormulaTokens(Stack formulaTokens)
-
getFormulaTokens
public Stack getFormulaTokens()
-
-