public interface ReadableRemoteFile
extends java.io.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 java.io.IOException
pos - start here in the filebuff - put data into this bufferoffset - buffer offsetlen - this number of bytesjava.io.IOException - on io errorvoid closeRemote()