public final class DirectoryListing extends Object implements Iterator
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext()
Indicates whether this listing contains more entries.
|
Object |
next() |
DirectoryEntry |
nextEntry()
Returns the next entry in the directory listing.
|
void |
remove()
This iterator is read-only.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic boolean hasNext()
public Object next()
next in interface IteratornextEntry()public DirectoryEntry nextEntry() throws IOException
IOExceptionCopyright © 2017. All rights reserved.