|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FoldersIterator
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.
Method Summary | |
---|---|
boolean |
hasNext()
Returns true if the iteration has more elements. |
ExchangeFolder |
next()
Deprecated. use the method nextFolder() instead. |
ExchangeFolder |
nextFolder()
|
void |
remove()
Deprecated. use the method ExchangeFolder.delete() instead. |
Method Detail |
---|
boolean hasNext()
hasNext
in interface java.util.Iterator<ExchangeFolder>
ExchangeFolder next()
next
in interface java.util.Iterator<ExchangeFolder>
java.util.NoSuchElementException
- encapsulating a ExchangeServiceException if any errors occur during the communication with Exchange.nextFolder()
void remove()
remove
in interface java.util.Iterator<ExchangeFolder>
java.lang.UnsupportedOperationException
- alwaysExchangeFolder.delete(boolean)
ExchangeFolder nextFolder() throws ExchangeServiceException
ExchangeServiceException
- if any errors occur during the communication with Exchange.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |