gnu.inet.nntp

Class GroupIterator

Implemented Interfaces:
Iterator, PendingData

public class GroupIterator
extends LineIterator

An iterator over an NNTP newsgroup listing.
Author:
Chris Burdess

Method Summary

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 Object next()
Returns the next group.
Overrides:
next in interface LineIterator

nextGroup

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

© Copyright 2003 The Free Software Foundation, all rights reserved