public class StfpIterableDirHandle extends Object implements Iterable<SftpClient.DirEntry>
| Constructor and Description |
|---|
StfpIterableDirHandle(SftpClient client,
SftpClient.Handle handle) |
| Modifier and Type | Method and Description |
|---|---|
SftpClient |
getClient()
The client instance
|
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()
SftpClient instance used to access the remote filepublic final SftpClient.Handle getHandle()
SftpClient.Handlepublic SftpDirEntryIterator iterator()
iterator in interface Iterable<SftpClient.DirEntry>Copyright © 2008–2017 The Apache Software Foundation. All rights reserved.