Modifier and Type | Field and Description |
---|---|
protected SftpPath |
curEntry |
protected boolean |
dotdotIgnored |
protected boolean |
dotIgnored |
protected Iterator<? extends SftpClient.DirEntry> |
it |
Constructor and Description |
---|
SftpPathIterator(SftpPath path,
Iterable<? extends SftpClient.DirEntry> iter) |
SftpPathIterator(SftpPath path,
Iterable<? extends SftpClient.DirEntry> iter,
DirectoryStream.Filter<? super Path> filter) |
SftpPathIterator(SftpPath path,
Iterator<? extends SftpClient.DirEntry> iter) |
SftpPathIterator(SftpPath path,
Iterator<? extends SftpClient.DirEntry> iter,
DirectoryStream.Filter<? super Path> filter) |
Modifier and Type | Method and Description |
---|---|
DirectoryStream.Filter<? super Path> |
getFilter() |
SftpPath |
getRootPath() |
boolean |
hasNext() |
Path |
next() |
protected SftpPath |
nextEntry(SftpPath root,
DirectoryStream.Filter<? super Path> selector) |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
protected final Iterator<? extends SftpClient.DirEntry> it
protected boolean dotIgnored
protected boolean dotdotIgnored
protected SftpPath curEntry
public SftpPathIterator(SftpPath path, Iterable<? extends SftpClient.DirEntry> iter)
public SftpPathIterator(SftpPath path, Iterable<? extends SftpClient.DirEntry> iter, DirectoryStream.Filter<? super Path> filter)
public SftpPathIterator(SftpPath path, Iterator<? extends SftpClient.DirEntry> iter)
public SftpPathIterator(SftpPath path, Iterator<? extends SftpClient.DirEntry> iter, DirectoryStream.Filter<? super Path> filter)
public final SftpPath getRootPath()
SftpPath
for this directory iteratorpublic final DirectoryStream.Filter<? super Path> getFilter()
null
to indicate no filterprotected SftpPath nextEntry(SftpPath root, DirectoryStream.Filter<? super Path> selector)
Copyright © 2008–2024 The Apache Software Foundation. All rights reserved.