Package org.apache.commons.net.nntp
Class NewsgroupIterator
java.lang.Object
org.apache.commons.net.nntp.NewsgroupIterator
- All Implemented Interfaces:
Iterable<NewsgroupInfo>
,Iterator<NewsgroupInfo>
final class NewsgroupIterator
extends Object
implements Iterator<NewsgroupInfo>, Iterable<NewsgroupInfo>
Class which wraps an
Iterable<String>
of raw newgroup information to generate an Iterable<NewsgroupInfo>
of the parsed information.- Since:
- 3.0
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Field Details
-
stringIterator
-
-
Constructor Details
-
NewsgroupIterator
-
-
Method Details
-
hasNext
public boolean hasNext()- Specified by:
hasNext
in interfaceIterator<NewsgroupInfo>
-
iterator
- Specified by:
iterator
in interfaceIterable<NewsgroupInfo>
-
next
- Specified by:
next
in interfaceIterator<NewsgroupInfo>
-
remove
public void remove()- Specified by:
remove
in interfaceIterator<NewsgroupInfo>
-