|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FileWriteMonitor
An interface for getting notifications on the progress of file writes.
| Method Summary | |
|---|---|
void |
writeComplete(int bytes)
Indicates that the write completed with the specified number of total bytes. |
void |
writeProgress(int bytes)
The running count of bytes written. |
void |
writeStarted(String fileDescription,
int fileSize)
|
| Method Detail |
|---|
void writeStarted(String fileDescription,
int fileSize)
fileSize - If it's known ahead of time, this is the total size of
the file to be written. This would typically be the
case for a copy operation, for example, but not
necessarily for a download. If the file size is not
known, this will be set to a negative number.void writeProgress(int bytes)
void writeComplete(int bytes)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||