Moyosoft Products | Services | Download | Contact us    
Java Bridge to Exchange
Products  >  Java Bridge to Exchange  >  API Reference    
API Reference
   
Overview  |  
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");

Returns:
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