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