public interface BlockLoader
Modifier and Type | Method and Description |
---|---|
byte[] |
getBlock(String url,
long offset,
int length)
Fetch a range of bytes from a particular URL.
|
byte[] getBlock(String url, long offset, int length) throws IOException
url
- String URL to fetchoffset
- byte start offset of the desired rangelength
- number of octets to fetchIOException
- on Network and protocol failures, as well as TimeoutsCopyright © 2005–2017 IIPC. All rights reserved.