public final class CsvParserBootstrapper extends Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
_bigEndian |
protected int |
_bytesPerChar |
protected com.fasterxml.jackson.core.ObjectCodec |
_codec |
protected com.fasterxml.jackson.core.io.IOContext |
_context |
protected InputStream |
_in |
protected byte[] |
_inputBuffer |
protected int |
_inputProcessed
Current number of input units (bytes or chars) that were processed in
previous blocks,
before contents of current input buffer.
|
Constructor and Description |
---|
CsvParserBootstrapper(com.fasterxml.jackson.core.io.IOContext ctxt,
com.fasterxml.jackson.core.ObjectCodec codec,
byte[] inputBuffer,
int inputStart,
int inputLen) |
CsvParserBootstrapper(com.fasterxml.jackson.core.io.IOContext ctxt,
com.fasterxml.jackson.core.ObjectCodec codec,
InputStream in) |
Modifier and Type | Method and Description |
---|---|
CsvParser |
constructParser(int baseFeatures,
int csvFeatures) |
protected boolean |
ensureLoaded(int minimum) |
static com.fasterxml.jackson.core.format.MatchStrength |
hasCSVFormat(com.fasterxml.jackson.core.format.InputAccessor acc,
char quoteChar,
char separatorChar)
Current implementation is not as thorough as one used by
other data formats like JSON.
|
protected final com.fasterxml.jackson.core.io.IOContext _context
protected final com.fasterxml.jackson.core.ObjectCodec _codec
protected final InputStream _in
protected final byte[] _inputBuffer
protected int _inputProcessed
Note: includes possible BOMs, if those were part of the input.
protected boolean _bigEndian
protected int _bytesPerChar
public CsvParserBootstrapper(com.fasterxml.jackson.core.io.IOContext ctxt, com.fasterxml.jackson.core.ObjectCodec codec, InputStream in)
public CsvParserBootstrapper(com.fasterxml.jackson.core.io.IOContext ctxt, com.fasterxml.jackson.core.ObjectCodec codec, byte[] inputBuffer, int inputStart, int inputLen)
public CsvParser constructParser(int baseFeatures, int csvFeatures) throws IOException
IOException
public static com.fasterxml.jackson.core.format.MatchStrength hasCSVFormat(com.fasterxml.jackson.core.format.InputAccessor acc, char quoteChar, char separatorChar) throws IOException
IOException
protected boolean ensureLoaded(int minimum) throws IOException
IOException
Copyright © 2016 FasterXML. All rights reserved.