org.apache.poi.hssf.record.formula
Class FuncVarPtg
java.lang.Object
|
+--org.apache.poi.hssf.record.formula.Ptg
|
+--org.apache.poi.hssf.record.formula.OperationPtg
|
+--org.apache.poi.hssf.record.formula.AbstractFunctionPtg
|
+--org.apache.poi.hssf.record.formula.FuncVarPtg
- public class FuncVarPtg
- extends AbstractFunctionPtg
- Author:
- Jason Height (jheight at chariot dot net dot au)
Field Summary |
static byte |
sid
|
Constructor Summary |
FuncVarPtg(byte[] data,
int offset)
Creates new function pointer from a byte array
usually called while reading an excel file. |
FuncVarPtg(java.lang.String pName,
byte pNumOperands)
Create a function ptg from a string tokenised by the parser |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
sid
public static final byte sid
- See Also:
- Constant Field Values
FuncVarPtg
public FuncVarPtg(byte[] data,
int offset)
- Creates new function pointer from a byte array
usually called while reading an excel file.
FuncVarPtg
public FuncVarPtg(java.lang.String pName,
byte pNumOperands)
- Create a function ptg from a string tokenised by the parser
writeBytes
public void writeBytes(byte[] array,
int offset)
- Description copied from class:
Ptg
- write this Ptg to a byte array
- Specified by:
writeBytes
in class AbstractFunctionPtg
getNumberOfOperands
public int getNumberOfOperands()
- Description copied from class:
OperationPtg
- The number of operands expected by the operations
- Specified by:
getNumberOfOperands
in class OperationPtg
clone
public java.lang.Object clone()
- Specified by:
clone
in class Ptg
getSize
public int getSize()
- Specified by:
getSize
in class AbstractFunctionPtg
toString
public java.lang.String toString()
- Overrides:
toString
in class AbstractFunctionPtg
Copyright © 2003 Apache Software Foundation.