|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface LaunchFileTracker
Tracker for the file to launch for immediate viewing.
| Method Summary | |
|---|---|
int |
getActiveWriteCalls()
Accessor for the number of active writers. |
void |
onDownloadStopped()
Called when a download is stopped. |
void |
onFailure()
Called when a download fails for any reason. |
void |
onFileComplete()
Called when the file download has completed. |
void |
waitForLaunchersToComplete()
Waits until all active launcher have finished their writes, typically to the browser. |
void |
write(OutputStream os,
boolean cancelOnStreamClose)
Writes the file to the specified stream. |
| Methods inherited from interface org.littleshoot.util.LongRangeListener |
|---|
onRangeComplete |
| Method Detail |
|---|
void write(OutputStream os,
boolean cancelOnStreamClose)
throws IOException
os - The stream to write to.
IOException - If there's any read or write error writing to the
stream.void onFileComplete()
void waitForLaunchersToComplete()
int getActiveWriteCalls()
void onFailure()
void onDownloadStopped()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||