Top Fields Constructors Methods
de.siegmar.fastcsv.reader

pack-priv final Class ByteChannelStream

extends Object
Class Inheritance
Imports
java.io.IOException, java.nio.Buffer, .ByteBuffer, java.nio.channels.ReadableByteChannel

Field Summary

Modifier and TypeField and Description
private final Buffer
private final ByteBuffer
private final ReadableByteChannel
private final CsvScanner.CsvListener
private int
private long

Constructor Summary

AccessConstructor and Description
pack-priv
ByteChannelStream(final ReadableByteChannel channel, final CsvScanner.CsvListener csvListener)

Method Summary

Modifier and TypeMethod and Description
pack-priv boolean
consumeIfNextEq(final int val)

private int
pack-priv int
get()

pack-priv long
pack-priv boolean
private boolean
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

bufback to summary
private final Buffer buf
byteBufback to summary
private final ByteBuffer byteBuf
channelback to summary
private final ReadableByteChannel channel
csvListenerback to summary
private final CsvScanner.CsvListener csvListener
nextByteback to summary
private int nextByte
offsetback to summary
private long offset

Constructor Detail

ByteChannelStreamback to summary
pack-priv ByteChannelStream(final ReadableByteChannel channel, final CsvScanner.CsvListener csvListener) throws IOException

Method Detail

consumeIfNextEqback to summary
pack-priv boolean consumeIfNextEq(final int val) throws IOException
fetchNextByteback to summary
private int fetchNextByte() throws IOException
getback to summary
pack-priv int get() throws IOException
getOffsetback to summary
pack-priv long getOffset()
hasDataback to summary
pack-priv boolean hasData()
loadDataback to summary
private boolean loadData() throws IOException