gnu.inet.nntp
Class ActiveTimesIterator

java.lang.Object
  extended by gnu.inet.nntp.LineIterator
      extended by gnu.inet.nntp.ActiveTimesIterator
All Implemented Interfaces:
PendingData, java.util.Iterator

public class ActiveTimesIterator
extends LineIterator

An iterator over an NNTP LIST ACTIVE.TIMES listing.

Author:
Chris Burdess

Method Summary
 java.lang.Object next()
          Returns the next group active time.
 ActiveTime nextGroup()
          Returns the next group active time.
 
Methods inherited from class gnu.inet.nntp.LineIterator
hasNext, nextLine, readToEOF, remove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

next

public java.lang.Object next()
Returns the next group active time.

Specified by:
next in interface java.util.Iterator
Overrides:
next in class LineIterator

nextGroup

public ActiveTime nextGroup()
                     throws java.io.IOException
Returns the next group active time.

Throws:
java.io.IOException


© Copyright 2003 The Free Software Foundation, all rights reserved