public class LocalFileBlockLoader extends Object implements BlockLoader
Constructor and Description |
---|
LocalFileBlockLoader() |
public byte[] getBlock(String url, long offset, int length) throws IOException
BlockLoader
getBlock
in interface BlockLoader
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–2015 IIPC. All rights reserved.