public interface ReadableRemoteFile extends Closeable
Modifier and Type | Method and Description |
---|---|
void |
closeRemote()
Close any resources used to enable remote reading.
|
int |
readRemote(long pos,
byte[] buff,
int offset,
int len)
Read directly from the remote service.
|
int readRemote(long pos, byte[] buff, int offset, int len) throws IOException
pos
- start here in the filebuff
- put data into this bufferoffset
- buffer offsetlen
- this number of bytesIOException
- on io errorvoid closeRemote()