gnu.inet.nntp

Class GroupIterator

Implemented Interfaces:
java.util.Iterator, PendingData

public class GroupIterator
extends LineIterator

An iterator over an NNTP newsgroup listing.

Version:
$Revision: 1.4 $ $Date: 2004/07/28 09:37:21 $

Author:
Chris Burdess

Nested Class Summary

Method Summary

java.lang.Object
next()
Returns the next group.
Group
nextGroup()
Returns the next group.

Methods inherited from class gnu.inet.nntp.LineIterator

hasNext, next, nextLine, readToEOF, remove

Method Details

next

public java.lang.Object next()
Returns the next group.
Overrides:
next in interface LineIterator


nextGroup

public Group nextGroup()
            throws java.io.IOException
Returns the next group.


© Copyright 2003 The Free Software Foundation, all rights reserved