Class SftpDirEntryIterator

java.lang.Object
org.apache.sshd.common.util.logging.AbstractLoggingBean
org.apache.sshd.sftp.client.impl.SftpDirEntryIterator
All Implemented Interfaces:
Closeable, AutoCloseable, Channel, Iterator<SftpClient.DirEntry>, SftpClientHolder

public class SftpDirEntryIterator extends org.apache.sshd.common.util.logging.AbstractLoggingBean implements SftpClientHolder, Iterator<SftpClient.DirEntry>, Channel
Iterates over the available directory entries for a given path. Note: if the iteration is carried out until no more entries are available, then no need to close the iterator. Otherwise, it is recommended to close it so as to release the internal handle.
Author:
Apache MINA SSHD Project