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, wait
forEach, spliterator
public StfpIterableDirHandle(SftpClient client, SftpClient.Handle handle)
client
- The SftpClient
to use for iterationhandle
- The remote directory SftpClient.Handle
public final SftpClient getClient()
getClient
in interface SftpClientHolder
public final SftpClient.Handle getHandle()
SftpClient.Handle
public SftpDirEntryIterator iterator()
iterator
in interface Iterable<SftpClient.DirEntry>
Copyright © 2008–2024 The Apache Software Foundation. All rights reserved.