com.mindbright.sshcommon
public class SSHSCPStdoutProgress extends java.lang.Object implements SSHFileTransferProgress
Constructor and Description |
---|
SSHSCPStdoutProgress() |
Modifier and Type | Method and Description |
---|---|
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
|
public void startFile(java.lang.String file, long size)
SSHFileTransferProgress
startFile
in interface SSHFileTransferProgress
file
- name of file to transfersize
- file sizepublic void startDir(java.lang.String file)
SSHFileTransferProgress
startDir
in interface SSHFileTransferProgress
file
- name of directorypublic void endFile()
SSHFileTransferProgress
endFile
in interface SSHFileTransferProgress
public void endDir()
SSHFileTransferProgress
endDir
in interface SSHFileTransferProgress