- All Superinterfaces:
- All Known Implementing Classes:
public interface ResumableConnectionManager extends ConnectionManager
An extension to the
ConnectionManager interface that
add support for specifying a start offset when downloading the
external file. If the external protocol has support for setting
a start offset it is recommended that connection managers are
implementing this interface, since otherwise the BASE core may
simply read to the specified offset which is wasting bandwith.
Modifier and Type Method Description
(long offset)Get an InputStream for reading the contents of the resource.
getInputStreamGet an InputStream for reading the contents of the resource.
offset- The offset to start reading from
- An InputStream object, or null if the no data is available
IOException- If there is an error creating the stream