public abstract class BinaryParserProvider extends ParserProvider
Constructor and Description |
---|
BinaryParserProvider() |
Modifier and Type | Method and Description |
---|---|
abstract ParseSetup |
guessFinalSetup(ByteVec v,
byte[] bits,
ParseSetup ps)
Finalizes ParseSetup created by
guessInitSetup using data read from a given ByteVec/bits. |
abstract ParseSetup |
guessInitSetup(ByteVec v,
byte[] bits,
ParseSetup userSetup)
Constructs initial ParseSetup from a given user setup
Any exception thrown by this method will signal that this ParserProvider doesn't support
the input data.
|
ParseSetup |
guessSetup(ByteVec v,
byte[] bits,
byte sep,
int ncols,
boolean singleQuotes,
int checkHeader,
java.lang.String[] columnNames,
byte[] columnTypes,
java.lang.String[][] domains,
java.lang.String[][] naStrings)
Deprecated.
|
createParser, createParserSetup, guessSetup_impl, guessSetup, info, setupLocal
public abstract ParseSetup guessInitSetup(ByteVec v, byte[] bits, ParseSetup userSetup)
guessInitSetup
in class ParserProvider
v
- optional ByteVecbits
- first bytes of the fileuserSetup
- user specified setuppublic abstract ParseSetup guessFinalSetup(ByteVec v, byte[] bits, ParseSetup ps)
guessInitSetup
using data read from a given ByteVec/bits.guessFinalSetup
in class ParserProvider
v
- optional ByteVecbits
- first bytes of the fileps
- parse setup as created by guessInitSetup
@Deprecated public final ParseSetup guessSetup(ByteVec v, byte[] bits, byte sep, int ncols, boolean singleQuotes, int checkHeader, java.lang.String[] columnNames, byte[] columnTypes, java.lang.String[][] domains, java.lang.String[][] naStrings)
ParserProvider
guessSetup
in class ParserProvider