API Reference
| Classic JavaDoc |
FoldersCollection.get
public ExchangeFolder get(String folderPath)
Returns a folder from this collection for the specified name or path. Accepted path
separators are '\' or '/'.
Example code:
Exchange exchange = new Exchange("hostname", "username", "password");
ExchangeFolder folder = exchange.getTopFolder().
getFolders().get("Contacts/My contacts subfolder");
the Exchange folder identified by the specified name/path or null if the folder is not found.
Throws:ExchangeServiceException | if any errors occur during the communication with Exchange. |
Community comments
Powered by JavaDocPlus