gnu.inet.nntp

Class PairIterator

Implemented Interfaces:
Iterator, PendingData

public class PairIterator
extends LineIterator

An iterator over a pair listing.

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

Author:
Chris Burdess

Method Summary

Object
next()
Returns the next pair.
Pair
nextPair()
Returns the next pair.

Methods inherited from class gnu.inet.nntp.LineIterator

hasNext, next, nextLine, readToEOF, remove

Method Details

next

public Object next()
Returns the next pair.
Overrides:
next in interface LineIterator


nextPair

public Pair nextPair()
            throws IOException
Returns the next pair.


© Copyright 2003 The Free Software Foundation, all rights reserved