Moyosoft Products | Services | Download | Contact us    
Java Bridge to Exchange
Products  >  Java Bridge to Exchange  >  API Reference    
API Reference
   
Overview  |  
Classic JavaDoc

Interface FoldersIterator

com.moyosoft.exchange.folder.FoldersIterator

Implemented Interfaces:
java.util.Iterator


public interface FoldersIterator implements java.util.Iterator

Iterator over Exchange folders.

Although this class implements the Iterator interface, it's preferable to use the method nextFolder() instead of Iterator.next() as the later cannot throw checked exceptions.

Methods

boolean
hasNext ()
Returns true if the iteration has more elements.
next ()
Deprecated - use the method nextFolder() instead.
nextFolder ()
void
remove ()
Deprecated - use the method ExchangeFolder.delete() instead. This method always throws an UnsupportedOperationException as the remove operation is not supported by this iterator. To delete a folder use the method ExchangeFolder.delete(boolean).

Community comments



Powered by JavaDocPlus