API Reference
| Classic JavaDoc |
Exchange.getTopFolder
public ExchangeFolder getTopFolder(String folderPath)
public ExchangeFolder getTopFolder()
Returns a sub-folder of the 'Top of Information Store' folder (FolderType.MsgFolderRoot) for
the specified name or path. Accepted path separators are '\' or '/'. If the specified name
or path doesn't exists, null is returned. For example, the path string "Sent Items" can
be used.
See Also:
This method returns the same result as:
getFolder(FolderType.MsgFolderRoot).getFolders().get(folderPath);
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. |
public ExchangeFolder getTopFolder()
Returns the 'Top of Information Store' folder of the logged user. This folder contains
information sub-folders like the Inbox, Calendar, Contacts, Notes, Sent Items, Tasks, etc.
See Also:
This method returns the same result as:
getFolder(FolderType.MsgFolderRoot);
the top Exchange folder.
Throws:ExchangeServiceException | if any errors occur during the communication with Exchange. |
Community comments
Powered by JavaDocPlus