jxl.biff.formula
Interface Parser
- All Known Implementing Classes:
- TokenFormulaParser, StringFormulaParser
- interface Parser
Interface used by the two different types of formula parser
Method Summary |
byte[] |
getBytes()
Gets the bytes for the formula. |
java.lang.String |
getFormula()
Gets the string version of the formula |
void |
parse()
Parses the formula |
parse
public void parse()
throws FormulaException
- Parses the formula
- Throws:
FormulaException
- if an error occurs
getFormula
public java.lang.String getFormula()
- Gets the string version of the formula
- Returns:
- the formula as a string
getBytes
public byte[] getBytes()
- Gets the bytes for the formula. This takes into account any
token mapping necessary because of shared formulas
- Returns:
- the bytes in RPN