Folder Class

Used to represent a folder (e.g. "Inbox", "Contacts", etc.)

Constructors

protected Folder( )
protected Folder( javaxt.exchange.Folder folder )
public Folder( String folderName, javaxt.exchange.Connection conn )

Methods

createFolder( String name ) returns javaxt.exchange.Folder
Used to create a folder within this folder.
delete( ) returns void
Used to delete this folder.
getChildFolderCount( ) returns Integer
Returns the total number of folders found in this this folder.
getDistinguishedFolderId( String folderName ) returns String
Returns the DistinguishedFolderID for a given folder.
getDistinguishedFolderIds( ) returns String[]
Returns a list of Distinguished Folder IDs.
getFolders( ) returns javaxt.exchange.Folder[]
Returns an array of folders found in this folder. Returns a zero length array of no folders are found.
getFolders( String Traversal ) returns javaxt.exchange.Folder[]
Returns an array of folders found in this folder. Returns a zero length array of no folders are found.
TraversalPossible values include "Deep", "Shallow", "SoftDeleted". Defaults to "Shallow" if a null or invalid string is used.
getID( ) returns String
Returns the unique Exchange ID for this folder.
getIndex( ) returns java.util.HashMap
Returns a hashmap of all the items found in this folder. The hashmap key is the item id and the corresponding value is the last modification date.
getName( ) returns String
Returns the name of the folder.
getParentID( ) returns String
Returns the unique ID for the parent folder.
getTotalCount( ) returns Integer
Returns the total number of items found in this folder.
getUnreadCount( ) returns Integer
Returns the total number of unread items found in this folder.
move( javaxt.exchange.Folder destination ) returns void
Used to move this folder to another folder.
rename( String name ) returns void
Used to rename this folder.
toString( ) returns String
Returns the name of the folder.