public class FormulaViewer
extends java.lang.Object
Constructor and Description |
---|
FormulaViewer()
Creates new FormulaViewer
|
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args)
Method main pass me a filename and I'll try and parse the formulas from it
(方法 main 向我传递了一个文件名,我将尝试从中解析公式)
|
void |
parseFormulaRecord(FormulaRecord record)
Method parseFormulaRecord
(方法 parseFormulaRecord)
|
void |
run()
Method run
(方法运行)
|
void |
setFile(java.lang.String file)
Method setFile
(方法 setFile)
|
void |
setList(boolean list) |
public void run() throws java.io.IOException
java.io.IOException
- if the file contained errors
(java.io.IOException - 如果文件包含错误)
public void parseFormulaRecord(FormulaRecord record)
record
- the record to be parsed
(record - 要解析的记录)
public void setFile(java.lang.String file)
file
- the file to process
(file - 要处理的文件)
public void setList(boolean list)
public static void main(java.lang.String[] args) throws java.io.IOException
args
- pass one argument with the filename or --help
(args - 使用文件名或 --help 传递一个参数)
java.io.IOException
- if the file can't be read or contained errors
(java.io.IOException - 如果文件无法读取或包含错误)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.