Class MboxIterator.MessageIterator
java.lang.Object
org.apache.james.mime4j.mboxiterator.MboxIterator.MessageIterator
- All Implemented Interfaces:
Iterator<CharBufferWrapper>
- Enclosing class:
MboxIterator
-
Constructor Details
-
MessageIterator
private MessageIterator()
-
-
Method Details
-
hasNext
public boolean hasNext()- Specified by:
hasNext
in interfaceIterator<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:
next
in interfaceIterator<CharBufferWrapper>
- Returns:
- CharBuffer instance
-
remove
public void remove()- Specified by:
remove
in interfaceIterator<CharBufferWrapper>
-