public class ExcelExtractor extends POITextExtractor
Modifier and Type | Field and Description |
---|---|
private boolean |
formulasNotResults |
private boolean |
includeSheetNames |
private HSSFWorkbook |
wb |
document
Constructor and Description |
---|
ExcelExtractor(HSSFWorkbook wb) |
ExcelExtractor(POIFSFileSystem fs) |
Modifier and Type | Method and Description |
---|---|
String |
getText()
Retreives the text contents of the file
|
void |
setFormulasNotResults(boolean formulasNotResults)
Should we return the formula itself, and not
the result it produces? Default is false
|
void |
setIncludeSheetNames(boolean includeSheetNames)
Should sheet names be included? Default is true
|
private HSSFWorkbook wb
private boolean includeSheetNames
private boolean formulasNotResults
public ExcelExtractor(HSSFWorkbook wb)
public ExcelExtractor(POIFSFileSystem fs) throws IOException
IOException
public void setIncludeSheetNames(boolean includeSheetNames)
public void setFormulasNotResults(boolean formulasNotResults)
public String getText()
getText
in class POITextExtractor
Copyright © 2016 Open Microscopy Environment