java.lang.Object
de.siegmar.fastcsv.reader.ByteChannelStream
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Bufferprivate final ByteBufferprivate final ReadableByteChannelprivate final CsvScanner.CsvListenerprivate intprivate long -
Constructor Summary
ConstructorsConstructorDescriptionByteChannelStream(ReadableByteChannel channel, CsvScanner.CsvListener csvListener) -
Method Summary
Modifier and TypeMethodDescription(package private) booleanconsumeIfNextEq(int val) private int(package private) intget()(package private) long(package private) booleanhasData()private booleanloadData()
-
Field Details
-
byteBuf
-
channel
-
csvListener
-
offset
private long offset -
nextByte
private int nextByte -
buf
-
-
Constructor Details
-
ByteChannelStream
ByteChannelStream(ReadableByteChannel channel, CsvScanner.CsvListener csvListener) throws IOException - Throws:
IOException
-
-
Method Details
-
get
- Throws:
IOException
-
consumeIfNextEq
- Throws:
IOException
-
hasData
boolean hasData() -
getOffset
long getOffset() -
fetchNextByte
- Throws:
IOException
-
loadData
- Throws:
IOException
-