|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface StormSubmitter.ProgressListener
Interface use to track progress of file upload
| Method Summary | |
|---|---|
void |
onCompleted(String srcFile,
String targetFile,
long totalBytes)
called when the file is uploaded |
void |
onProgress(String srcFile,
String targetFile,
long bytesUploaded,
long totalBytes)
called whenever a chunk of bytes is uploaded |
void |
onStart(String srcFile,
String targetFile,
long totalBytes)
called before file is uploaded |
| Method Detail |
|---|
void onStart(String srcFile,
String targetFile,
long totalBytes)
srcFile - - jar file to be uploadedtargetFile - - destination filetotalBytes - - total number of bytes of the file
void onProgress(String srcFile,
String targetFile,
long bytesUploaded,
long totalBytes)
srcFile - - jar file to be uploadedtargetFile - - destination filebytesUploaded - - number of bytes transferred so fartotalBytes - - total number of bytes of the file
void onCompleted(String srcFile,
String targetFile,
long totalBytes)
srcFile - - jar file to be uploadedtargetFile - - destination filetotalBytes - - total number of bytes of the file
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||