public class StfpIterableDirHandle extends Object implements SftpClientHolder, Iterable<SftpClient.DirEntry>
| Constructor and Description |
|---|
StfpIterableDirHandle(SftpClient client,
SftpClient.Handle handle) |
| Modifier and Type | Method and Description |
|---|---|
SftpClient |
getClient() |
SftpClient.Handle |
getHandle() |
SftpDirEntryIterator |
iterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic StfpIterableDirHandle(SftpClient client, SftpClient.Handle handle)
client - The SftpClient to use for iterationhandle - The remote directory SftpClient.Handlepublic final SftpClient getClient()
getClient in interface SftpClientHolderpublic final SftpClient.Handle getHandle()
SftpClient.Handlepublic SftpDirEntryIterator iterator()
iterator in interface Iterable<SftpClient.DirEntry>Copyright © 2018–2021 The Apache Software Foundation. All rights reserved.