public class POIReader extends IDAREDatasetReader
IS_READY, IS_SET_UP| Constructor and Description |
|---|
POIReader() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
fileTypeAccepted(File inputfile)
Test, whether the file can potentially be read by this reader.
|
IDAREReaderSetupTask |
getSetupTask(File inputfile,
boolean twocolumn)
The Reader should provide a Task that can be used to set up the reader for
future use on the given inputFile.
|
IDAREWorkbook |
readData(File inputfile)
Read an input File and create an IDARE compatible Workbook structure.
|
void |
resetReader()
Reset the reader, clearing any temporary fields.
|
getStatusMessage, reset, setStatusMessagepublic IDAREWorkbook readData(File inputfile) throws WrongFormat, IOException
IDAREDatasetReaderreadData in class IDAREDatasetReaderinputfile - the file to read.WrongFormat - If the format cannot be read by this Reader, or if the file provided is not the file the reader was set up for.IOException - If there are problems with the IO of the filepublic boolean fileTypeAccepted(File inputfile)
IDAREDatasetReaderfileTypeAccepted in class IDAREDatasetReaderinputfile - The file to checkpublic IDAREReaderSetupTask getSetupTask(File inputfile, boolean twocolumn)
IDAREDatasetReadergetSetupTask in class IDAREDatasetReaderinputfile - the input file to generate the setup task. This file can be read to extract information for options.twocolumn - whether a IDAREWorkbook with label and id or a set with only an id is requested.Tunables, or null if no setup information is necessarypublic void resetReader()
IDAREDatasetReaderresetReader in class IDAREDatasetReaderCopyright © 2018. All rights reserved.