gnu.inet.gopher

Class DirectoryListing

Implemented Interfaces:
java.util.Iterator

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

A gopher directory listing.

Version:
$Revision: 1.3 $ $Date: 2004/06/08 19:05:27 $

Author:
Chris Burdess

Nested Class Summary

Method Summary

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.

Method Details

hasNext

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


next

public java.lang.Object next()

See Also:
nextEntry()


nextEntry

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


remove

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


© Copyright 2003 The Free Software Foundation, all rights reserved