com.moyosoft.exchange.folder
Enum FolderType
java.lang.Object
java.lang.Enum<FolderType>
com.moyosoft.exchange.folder.FolderType
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<FolderType>
public enum FolderType
- extends java.lang.Enum<FolderType>
Method Summary |
java.lang.String |
toString()
|
static FolderType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static FolderType[] |
values()
Returns an array containing the constants of this enum type, in
the order they're declared. |
Methods inherited from class java.lang.Enum |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Calendar
public static final FolderType Calendar
Contacts
public static final FolderType Contacts
DeletedItems
public static final FolderType DeletedItems
Drafts
public static final FolderType Drafts
Inbox
public static final FolderType Inbox
Journal
public static final FolderType Journal
Notes
public static final FolderType Notes
Outbox
public static final FolderType Outbox
SentItems
public static final FolderType SentItems
Tasks
public static final FolderType Tasks
MsgFolderRoot
public static final FolderType MsgFolderRoot
PublicFoldersRoot
public static final FolderType PublicFoldersRoot
Root
public static final FolderType Root
JunkEmail
public static final FolderType JunkEmail
SearchFolders
public static final FolderType SearchFolders
Voicemail
public static final FolderType Voicemail
values
public static final FolderType[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(FolderType c : FolderType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static FolderType valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Enum<FolderType>