|
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.mail.EmailBatch
public class EmailBatch
Represents a batch of incoming mail, and associated external resources. Much like a ResultSet, instances of this class must be closed once the messages it contains have been processed, so it is best to use with a try/finally pair.
Method Summary | |
---|---|
void |
close()
Closes the underlying folder and store, causing changes to message flags to be applied on the server. |
java.util.Iterator |
getMessages()
Returns an iterator of (@link Message} instances. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public java.util.Iterator getMessages()
public void close()
|
Jive Forums Project Page | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |