|
Jive Forums API (5.5.20.2-oracle) Developer Javadocs | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jivesoftware.forum.nntp.spi.PeekIterator
com.jivesoftware.forum.nntp.spi.UUEndIterator
public class UUEndIterator
Iterator that continues until the underlying iterator runs out or a uuencoding 'end' token is seen.
Constructor Summary | |
---|---|
UUEndIterator(java.util.Iterator itr,
java.lang.String headerLine)
Create an iterator that wraps the given one and uses the given uuencode section header line. |
Method Summary | |
---|---|
boolean |
hasNext()
Returns true if there are more elements that can be returned from calls to next() or peek(). |
java.lang.Object |
next()
Returns the next element and moves the iterator forward. |
Methods inherited from class com.jivesoftware.forum.nntp.spi.PeekIterator |
---|
peek, remove |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UUEndIterator(java.util.Iterator itr, java.lang.String headerLine)
itr
- the iterator to wrapheaderLine
- the uunecode section header line to prepend to the iteratorMethod Detail |
---|
public boolean hasNext()
PeekIterator
hasNext
in interface java.util.Iterator
hasNext
in class PeekIterator
public java.lang.Object next()
PeekIterator
next
in interface java.util.Iterator
next
in class PeekIterator
|
Jive Forums Project Page | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |