| Modifier and Type | Field and Description |
|---|---|
| protected boolean | |
| protected int | |
| protected final ObjectCodec | |
| protected final IOContext | |
| protected final InputStream | |
| protected final byte[] | |
| private int | |
| protected int | _inputProcessed
Current number of input units (bytes or chars) that were processed in previous blocks, before contents of current input buffer. |
| private int | |
| pack-priv static final byte | |
| pack-priv static final byte | |
| pack-priv static final byte |
| Access | Constructor and Description |
|---|---|
| public | |
| public | CsvParserBootstrapper(IOContext ctxt, ObjectCodec codec, byte[] inputBuffer, int inputStart, int inputLen)
|
| Modifier and Type | Method and Description |
|---|---|
| private Reader | |
| private boolean | |
| private boolean | |
| public CsvParser | |
| protected boolean | |
| private boolean | |
| public static MatchStrength | hasCSVFormat(InputAccessor acc, int quoteChar, char separatorChar)
Current implementation is not as thorough as one used by other data formats like JSON. |
| private void | |
| private static final int |
| _bigEndian | back to summary |
|---|---|
| protected boolean _bigEndian | |
| _bytesPerChar | back to summary |
|---|---|
| protected int _bytesPerChar | |
| _codec | back to summary |
|---|---|
| protected final ObjectCodec _codec | |
| _context | back to summary |
|---|---|
| protected final IOContext _context | |
| _in | back to summary |
|---|---|
| protected final InputStream _in | |
| _inputBuffer | back to summary |
|---|---|
| protected final byte[] _inputBuffer | |
| _inputEnd | back to summary |
|---|---|
| private int _inputEnd | |
| _inputProcessed | back to summary |
|---|---|
| protected int _inputProcessed Current number of input units (bytes or chars) that were processed in previous blocks, before contents of current input buffer. Note includes possible BOMs, if those were part of the input. | |
| _inputPtr | back to summary |
|---|---|
| private int _inputPtr | |
| UTF8_BOM_1 | back to summary |
|---|---|
| pack-priv static final byte UTF8_BOM_1 | |
| UTF8_BOM_2 | back to summary |
|---|---|
| pack-priv static final byte UTF8_BOM_2 | |
| UTF8_BOM_3 | back to summary |
|---|---|
| pack-priv static final byte UTF8_BOM_3 | |
| CsvParserBootstrapper | back to summary |
|---|---|
| public CsvParserBootstrapper(IOContext ctxt, ObjectCodec codec, InputStream in) | |
| CsvParserBootstrapper | back to summary |
|---|---|
| public CsvParserBootstrapper(IOContext ctxt, ObjectCodec codec, byte[] inputBuffer, int inputStart, int inputLen) | |
| _createReader | back to summary |
|---|---|
private Reader _createReader(JsonEncoding enc, boolean autoClose) throws IOException
| |
| checkUTF16 | back to summary |
|---|---|
| private boolean checkUTF16(int i16) | |
| checkUTF32 | back to summary |
|---|---|
| private boolean checkUTF32(int quad) throws IOException | |
| constructParser | back to summary |
|---|---|
| public CsvParser constructParser(int baseFeatures, int csvFeatures) throws IOException | |
| ensureLoaded | back to summary |
|---|---|
| protected boolean ensureLoaded(int minimum) throws IOException | |
| handleBOM | back to summary |
|---|---|
private boolean handleBOM(int quad) throws IOException
| |
| hasCSVFormat | back to summary |
|---|---|
| public static MatchStrength hasCSVFormat(InputAccessor acc, int quoteChar, char separatorChar) throws IOException Current implementation is not as thorough as one used by other data formats like JSON. But it should work, for now, and can be improved as necessary. | |
| reportWeirdUCS4 | back to summary |
|---|---|
| private void reportWeirdUCS4(String type) throws IOException | |
| skipSpace | back to summary |
|---|---|
| private static final int skipSpace(InputAccessor acc, byte b) throws IOException | |