|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface OFSNGetHandler
The default OFSN handler for getting remote data.
| Method Summary | |
|---|---|
void |
configure(Properties conf)
Configures this handler with the provided configuration stored in a Properties object. |
byte[] |
retrieveChunk(String filepath,
long offset,
int length)
Retrieves a chunk of data from the remote file. |
long |
sizeOf(String filepath)
Returns the size of the remote data, which may be the entire file in question, or some subset/transformation on it. |
| Method Detail |
|---|
byte[] retrieveChunk(String filepath,
long offset,
int length)
throws ProductException
filepath - The path to the remote file.offset - The offset in the remote data to retrieve.length - The length of data to read
ProductException - If any error occurs.long sizeOf(String filepath)
filepath - The remote file in question.
void configure(Properties conf)
Properties object.
conf - The configuration for this list handler.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||