Package net.schmizz.sshj.sftp
Class SFTPFileTransfer.Downloader
java.lang.Object
net.schmizz.sshj.sftp.SFTPFileTransfer.Downloader
- Enclosing class:
SFTPFileTransfer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
copyAttributes
(RemoteResourceInfo remote, LocalDestFile local) private void
download
(TransferListener listener, RemoteResourceInfo remote, LocalDestFile local, long byteOffset) private LocalDestFile
downloadDir
(TransferListener listener, RemoteResourceInfo remote, LocalDestFile local) private LocalDestFile
downloadFile
(StreamCopier.Listener listener, RemoteResourceInfo remote, LocalDestFile local, long byteOffset)
-
Constructor Details
-
Downloader
private Downloader()
-
-
Method Details
-
download
private void download(TransferListener listener, RemoteResourceInfo remote, LocalDestFile local, long byteOffset) throws IOException - Throws:
IOException
-
downloadDir
private LocalDestFile downloadDir(TransferListener listener, RemoteResourceInfo remote, LocalDestFile local) throws IOException - Throws:
IOException
-
downloadFile
private LocalDestFile downloadFile(StreamCopier.Listener listener, RemoteResourceInfo remote, LocalDestFile local, long byteOffset) throws IOException - Throws:
IOException
-
copyAttributes
- Throws:
IOException
-