|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmultipart.Multipart
public class Multipart
Implements a multi-part file downloader. The downloader is capable of progressively downloading multi-part files, with parts from multiple sources, and concatenating their data to an output stream.
Constructor Summary | |
---|---|
Multipart(IDownloader downloader,
java.lang.String manifestURL)
Creates a new instance of Multipart which will use downloader for all URL access, and subsequent calls to getPart() will begin downloading the multi-part file described at manifestURL. |
Method Summary | |
---|---|
boolean |
error()
|
void |
getPart(java.io.OutputStream dest)
Gets the next part (if any) and adds its contents dest. |
void |
skip()
Skips any remaining parts in the current alternative, so that the next time getPart() is called, the series of parts specified in the manifest as the next alternative is used instead, re-starting with the first part. |
boolean |
success()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Multipart(IDownloader downloader, java.lang.String manifestURL)
Method Detail |
---|
public void getPart(java.io.OutputStream dest)
public void skip()
public boolean success()
public boolean error()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |