Class MboxIterator.MessageIterator
- java.lang.Object
-
- org.apache.james.mime4j.mboxiterator.MboxIterator.MessageIterator
-
- All Implemented Interfaces:
java.util.Iterator<CharBufferWrapper>
- Enclosing class:
- MboxIterator
private class MboxIterator.MessageIterator extends java.lang.Object implements java.util.Iterator<CharBufferWrapper>
-
-
Constructor Summary
Constructors Modifier Constructor Description privateMessageIterator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasNext()CharBufferWrappernext()Returns a CharBuffer instance that contains a message between position and limit.voidremove()
-
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNextin interfacejava.util.Iterator<CharBufferWrapper>
-
next
public CharBufferWrapper next()
Returns a CharBuffer instance that contains a message between position and limit. The array that backs this instance is the whole block of decoded messages.- Specified by:
nextin interfacejava.util.Iterator<CharBufferWrapper>- Returns:
- CharBuffer instance
-
remove
public void remove()
- Specified by:
removein interfacejava.util.Iterator<CharBufferWrapper>
-
-