Package org.apache.sshd.sftp.client.impl
Class StfpIterableDirHandle
java.lang.Object
org.apache.sshd.sftp.client.impl.StfpIterableDirHandle
- All Implemented Interfaces:
Iterable<SftpClient.DirEntry>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal SftpClientThe client instancefinal SftpClient.Handleiterator()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
-
handle
-
-
Constructor Details
-
StfpIterableDirHandle
- Parameters:
client- TheSftpClientto use for iterationhandle- The remote directorySftpClient.Handle
-
-
Method Details
-
getClient
The client instance- Returns:
SftpClientinstance used to access the remote file
-
getHandle
- Returns:
- The remote directory
SftpClient.Handle
-
iterator
- Specified by:
iteratorin interfaceIterable<SftpClient.DirEntry>
-