|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgnu.inet.nntp.LineIterator
public class LineIterator
An iterator over an NNTP multi-line response.
Method Summary | |
---|---|
boolean |
hasNext()
Indicates whether there are more lines to be read. |
java.lang.Object |
next()
Returns the next line. |
java.lang.String |
nextLine()
Returns the next line. |
void |
readToEOF()
Read to the end of this iterator. |
void |
remove()
This iterator is read-only. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public boolean hasNext()
hasNext
in interface java.util.Iterator
public java.lang.Object next()
next
in interface java.util.Iterator
public java.lang.String nextLine() throws java.io.IOException
java.io.IOException
public void remove()
remove
in interface java.util.Iterator
public void readToEOF() throws java.io.IOException
readToEOF
in interface PendingData
java.io.IOException
- if an I/O error occurred
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |