gnu.inet.gopher

Class DirectoryListing

Implemented Interfaces:
Iterator

public final class DirectoryListing
extends java.lang.Object
implements Iterator

A gopher directory listing.

Method Summary

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.

Method Details

hasNext

public boolean hasNext()
Indicates whether this listing contains more entries.

next

public Object next()

nextEntry

public DirectoryEntry nextEntry()
            throws IOException
Returns the next entry in the directory listing.

remove

public void remove()
This iterator is read-only.