public class XlsParser extends CustomParser implements org.apache.poi.hssf.eventusermodel.HSSFListener
CustomParser.CustomInspectDataOut, CustomParser.DataIn, CustomParser.DataOut, CustomParser.ParserSetup, CustomParser.ParserType, CustomParser.PSetupGuess, CustomParser.StreamData, CustomParser.StreamDataOut
_setup, CHAR_COMMA, CHAR_CR, CHAR_DOUBLE_QUOTE, CHAR_FF, CHAR_LF, CHAR_NULL, CHAR_SINGLE_QUOTE, CHAR_SPACE, CHAR_TAB, CHAR_VT, MAX_PREVIEW_COLS, MAX_PREVIEW_LINES
Constructor and Description |
---|
XlsParser() |
XlsParser(CustomParser.ParserSetup setup) |
Modifier and Type | Method and Description |
---|---|
XlsParser |
clone() |
static CustomParser.PSetupGuess |
guessSetup(byte[] bits)
Try to parse the bits as svm light format, return SVMParser instance if the input is in svm light format, null otherwise.
|
boolean |
isCompatible(CustomParser p) |
void |
processRecord(org.apache.poi.hssf.record.Record record) |
CustomParser.DataOut |
streamParse(java.io.InputStream is,
CustomParser.DataOut dout) |
headers, isEOL, isWhitespace, parallelParse, parallelParseSupported, streamParse
frozenType, init, newInstance, read, toDocField, write, writeJSON, writeJSONFields
public XlsParser()
public XlsParser(CustomParser.ParserSetup setup)
public XlsParser clone()
clone
in class CustomParser
public CustomParser.DataOut streamParse(java.io.InputStream is, CustomParser.DataOut dout) throws java.lang.Exception
streamParse
in class CustomParser
java.lang.Exception
public static CustomParser.PSetupGuess guessSetup(byte[] bits)
bits
- public void processRecord(org.apache.poi.hssf.record.Record record)
processRecord
in interface org.apache.poi.hssf.eventusermodel.HSSFListener
public boolean isCompatible(CustomParser p)
isCompatible
in class CustomParser