com.atlassian.confluence.mail.archive
Class MboxIterator

java.lang.Object
  extended by com.atlassian.confluence.mail.archive.MboxIterator
All Implemented Interfaces:
java.util.Iterator<byte[]>

public class MboxIterator
extends java.lang.Object
implements java.util.Iterator<byte[]>


Constructor Summary
MboxIterator(java.io.InputStream mbox)
           
 
Method Summary
 boolean hasNext()
           
static java.lang.Iterable<byte[]> iterable(java.io.InputStream mbox)
           
 byte[] next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MboxIterator

public MboxIterator(java.io.InputStream mbox)
Method Detail

iterable

public static java.lang.Iterable<byte[]> iterable(java.io.InputStream mbox)

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator<byte[]>

next

public byte[] next()
Specified by:
next in interface java.util.Iterator<byte[]>

remove

public void remove()
Specified by:
remove in interface java.util.Iterator<byte[]>


Copyright © 2003-2014 Atlassian. All Rights Reserved.