Package org.aksw.commons.io.input
Class SeekableByteChannelAdapter<T extends SeekableReadableChannel<byte[]>>
java.lang.Object
org.aksw.commons.io.input.ReadableByteChannelAdapter<T>
org.aksw.commons.io.input.SeekableByteChannelAdapter<T>
- All Implemented Interfaces:
Closeable,AutoCloseable,ByteChannel,Channel,ReadableByteChannel,SeekableByteChannel,WritableByteChannel
public class SeekableByteChannelAdapter<T extends SeekableReadableChannel<byte[]>>
extends ReadableByteChannelAdapter<T>
implements SeekableByteChannel
-
Field Summary
Fields inherited from class org.aksw.commons.io.input.ReadableByteChannelAdapter
buf, delegate, transferSize -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.aksw.commons.io.input.ReadableByteChannelAdapter
close, getDelegate, isOpen, readMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.nio.channels.SeekableByteChannel
read
-
Constructor Details
-
SeekableByteChannelAdapter
-
-
Method Details
-
write
- Specified by:
writein interfaceSeekableByteChannel- Specified by:
writein interfaceWritableByteChannel- Throws:
IOException
-
position
- Specified by:
positionin interfaceSeekableByteChannel- Throws:
IOException
-
position
- Specified by:
positionin interfaceSeekableByteChannel- Throws:
IOException
-
size
- Specified by:
sizein interfaceSeekableByteChannel- Throws:
IOException
-
truncate
- Specified by:
truncatein interfaceSeekableByteChannel- Throws:
IOException
-