|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.mindbright.sshcommon.SSHSCPStdoutProgress
Report progress of a file transfer to System.out
| Constructor Summary | |
SSHSCPStdoutProgress()
|
|
| Method Summary | |
void |
endDir()
Called when all files in a directory have been transferred |
void |
endFile()
Called when a file has been successfully transferred |
void |
progress(long size)
Called to report the current progress. |
void |
startDir(java.lang.String file)
Called when the transfer starts to transfer all files in a directory. |
void |
startFile(java.lang.String file,
long size)
Called when a file starts to transfer |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SSHSCPStdoutProgress()
| Method Detail |
public void startFile(java.lang.String file,
long size)
SSHFileTransferProgress
startFile in interface SSHFileTransferProgressfile - name of file to transfersize - file sizepublic void startDir(java.lang.String file)
SSHFileTransferProgress
startDir in interface SSHFileTransferProgressfile - name of directorypublic void endFile()
SSHFileTransferProgress
endFile in interface SSHFileTransferProgresspublic void endDir()
SSHFileTransferProgress
endDir in interface SSHFileTransferProgresspublic void progress(long size)
Progress
progress in interface Progresssize - the current progress. The range of possible values
depends on the class reporting the progress.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||