Class ReadableByteChannelWithLimitByNewline<T extends SeekableByteChannel>
java.lang.Object
org.aksw.commons.io.util.channel.ReadableByteChannelDecoratorBase<T>
org.aksw.commons.io.util.channel.ReadableByteChannelWithLimitByNewline<T>
- All Implemented Interfaces:
Closeable, AutoCloseable, Channel, ReadableByteChannel, ReadableByteChannelDecorator<T>
public class ReadableByteChannelWithLimitByNewline<T extends SeekableByteChannel>
extends ReadableByteChannelDecoratorBase<T>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected longprotected ByteBufferprotected booleanprotected longFields inherited from class ReadableByteChannelDecoratorBase
delegate -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class ReadableByteChannelDecoratorBase
getDelegateMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ReadableByteChannelDecorator
close, isOpen
-
Field Details
-
nextSplitOffset
protected long nextSplitOffset -
isInEofState
protected boolean isInEofState -
bytesRead
protected long bytesRead -
excessBuffer
-
-
Constructor Details
-
ReadableByteChannelWithLimitByNewline
-
-
Method Details
-
read
- Throws:
IOException
-
getBytesRead
public long getBytesRead()
-