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 ReadableByteChannel
IOException
public long position() throws IOException
IOException
public void position(long newPosition) throws IOException
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in interface Channel
IOException
public long size() throws IOException
IOException
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.