com.atlassian.confluence.mail.archive
Class MboxIterator

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

public class MboxIterator
extends Object
implements Iterator<byte[]>


Constructor Summary
MboxIterator(InputStream mbox)
           
 
Method Summary
 boolean hasNext()
           
static Iterable<byte[]> iterable(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(InputStream mbox)
Method Detail

iterable

public static Iterable<byte[]> iterable(InputStream mbox)

hasNext

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

next

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

remove

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


Copyright © 2003–2015 Atlassian. All rights reserved.