Package org.apache.sshd.sftp.client.impl
Class SftpIterableDirEntry
java.lang.Object
org.apache.sshd.sftp.client.impl.SftpIterableDirEntry
- All Implemented Interfaces:
Iterable<SftpClient.DirEntry>
Provides an
Iterable implementation of the SftpClient.DirEntry-ies for a remote directory-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal SftpClientThe client instancefinal StringgetPath()The remotely accessed directory pathiterator()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
client
-
path
-
-
Constructor Details
-
SftpIterableDirEntry
- Parameters:
client- TheSftpClientinstance to use for the iterationpath- The remote directory path
-
-
Method Details
-
getClient
The client instance- Returns:
SftpClientinstance used to access the remote file
-
getPath
The remotely accessed directory path- Returns:
- Remote directory path
-
iterator
- Specified by:
iteratorin interfaceIterable<SftpClient.DirEntry>
-