public class SftpIterableDirEntry extends Object implements Iterable<SftpClient.DirEntry>
Iterable implementation of the SftpClient.DirEntry-ies
for a remote directory| Constructor and Description |
|---|
SftpIterableDirEntry(SftpClient client,
String path) |
| Modifier and Type | Method and Description |
|---|---|
SftpClient |
getClient()
The client instance
|
String |
getPath()
The remotely accessed directory path
|
SftpDirEntryIterator |
iterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic SftpIterableDirEntry(SftpClient client, String path)
client - The SftpClient instance to use for the iterationpath - The remote directory pathpublic final SftpClient getClient()
SftpClient instance used to access the remote filepublic final String getPath()
public SftpDirEntryIterator iterator()
iterator in interface Iterable<SftpClient.DirEntry>Copyright © 2008–2015 The Apache Software Foundation. All rights reserved.