|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.mindbright.ssh2.SSH2SimpleSFTPShell.ProgressBar
Class implementing a progress bar which gets printed in a terminal window.
Constructor Summary | |
SSH2SimpleSFTPShell.ProgressBar(LineReaderTerminal linereader)
|
Method Summary | |
void |
progress(long size)
Gets called periodically during the file transfer. |
void |
start(long totalSize)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SSH2SimpleSFTPShell.ProgressBar(LineReaderTerminal linereader)
Method Detail |
public void start(long totalSize)
public void progress(long size)
SSH2SFTP.AsyncListener
progress
in interface SSH2SFTP.AsyncListener
size
- How many bytes have been transferred so far
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |