public final class DirectoryListing
extends java.lang.Object
implements java.util.Iterator
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext()
Indicates whether this listing contains more entries.
|
java.lang.Object |
next() |
DirectoryEntry |
nextEntry()
Returns the next entry in the directory listing.
|
void |
remove()
This iterator is read-only.
|
public boolean hasNext()
hasNext
in interface java.util.Iterator
public java.lang.Object next()
next
in interface java.util.Iterator
nextEntry()
public void remove()
remove
in interface java.util.Iterator
public DirectoryEntry nextEntry() throws java.io.IOException
java.io.IOException