public class ReadableJslipcFileChannel extends AbstractJslipcFileChannel implements ReadableJslipcByteChannel, InterruptibleChannel
ReadableJslipcByteChannel
implementation that reads the data from an underlying
FileChannel
.JslipcChannel.JslipcChannelState
fileChannel
Constructor and Description |
---|
ReadableJslipcFileChannel(File file)
Creates ReadableJslipcFileChannel based on the given file.
|
Modifier and Type | Method and Description |
---|---|
int |
read(ByteBuffer dst) |
checkClosed, cleanUpOnClose, close, getFileChannel, getState, isOpen
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getState
close
public ReadableJslipcFileChannel(File file) throws IOException
file
- IOException
public int read(ByteBuffer dst) throws IOException
read
in interface ReadableByteChannel
IOException
Copyright © 2014. All Rights Reserved.