java.lang.Object | |
↳ | com.ning.http.client.extra.ResumableRandomAccessFileListener |
A TransferListener
which use a RandomAccessFile for storing the received bytes.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Return the length of previously downloaded bytes.
| |||||||||||
Invoked when all the bytes has been sucessfully transferred.
| |||||||||||
This method uses the last valid bytes written on disk to position a RandomAccessFile, allowing
resumable file download.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.ning.http.client.resumable.ResumableListener
|
Return the length of previously downloaded bytes.
Invoked when all the bytes has been sucessfully transferred.
This method uses the last valid bytes written on disk to position a RandomAccessFile, allowing resumable file download.
buffer | a ByteBuffer |
---|
IOException |
---|