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.Iteratorpublic java.lang.Object next()
next in interface java.util.IteratornextEntry()public void remove()
remove in interface java.util.Iteratorpublic DirectoryEntry nextEntry() throws java.io.IOException
java.io.IOException© Copyright 2003 The Free Software Foundation, all rights reserved