public class SftpDirectoryStream extends Object implements DirectoryStream<Path>
DirectoryStreamDirectoryStream.Filter<T>| Constructor and Description |
|---|
SftpDirectoryStream(SftpPath path) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
SftpClient |
getClient()
Client instance used to access the remote directory
|
Iterator<Path> |
iterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic SftpDirectoryStream(SftpPath path) throws IOException
path - The remote SftpPathIOException - If failed to initialize the directory access handlepublic final SftpClient getClient()
SftpClient instance used to access the remote directorypublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2008–2015 The Apache Software Foundation. All rights reserved.