com.hs.mail.imap.server.codec
Enum ImapMessageDecoder.State
java.lang.Object
java.lang.Enum<ImapMessageDecoder.State>
com.hs.mail.imap.server.codec.ImapMessageDecoder.State
- All Implemented Interfaces:
- Serializable, Comparable<ImapMessageDecoder.State>
- Enclosing class:
- ImapMessageDecoder
protected static enum ImapMessageDecoder.State
- extends Enum<ImapMessageDecoder.State>
The internal state of ImapMessageDecoder
.
Internal use only.
READ_COMMAND
public static final ImapMessageDecoder.State READ_COMMAND
READ_LITERAL
public static final ImapMessageDecoder.State READ_LITERAL
READ_REMAINDER
public static final ImapMessageDecoder.State READ_REMAINDER
values
public static final ImapMessageDecoder.State[] 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(ImapMessageDecoder.State c : ImapMessageDecoder.State.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static ImapMessageDecoder.State valueOf(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:
IllegalArgumentException
- if this enum type has no constant
with the specified name
Copyright © 2011. All Rights Reserved.