Methods Summary |
---|
public void | addListener(DiskManagerListener listener)
|
public void | cancel()
|
public long | getAvailableBytes()Get the number of bytes available for immediate reading from the request given its current
position. If this information is not known (download not running) then -1 is returned
|
public long | getRemaining()Get the number of bytes remaining to be read for the request
|
public void | removeListener(DiskManagerListener listener)
|
public void | run()
|
public void | setLength(long length)
|
public void | setOffset(long offset)
|
public void | setType(int type)
|
public void | setUserAgent(java.lang.String agent)
|