public class ReadableGridFileChannel extends Object implements ReadableByteChannel
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
isOpen() |
long |
position() |
void |
position(long newPosition) |
int |
read(ByteBuffer dst) |
long |
size() |
public int read(ByteBuffer dst) throws IOException
read in interface ReadableByteChannelIOExceptionpublic long position()
throws IOException
IOExceptionpublic void position(long newPosition)
throws IOException
IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in interface ChannelIOExceptionpublic long size()
throws IOException
IOExceptionCopyright © 2017 JBoss, a division of Red Hat. All rights reserved.