public enum EntityState extends Enum<EntityState>
Enum Constant and Description |
---|
T_BODY
This token indicates, that an atomic entity is being parsed.
|
T_END_BODYPART
This token indicates, that the MIME stream is currently
at the end of a body part.
|
T_END_HEADER
This token indicates, that part headers have now been
parsed.
|
T_END_MESSAGE
This token indicates, that the MIME stream is currently
at the end of a message.
|
T_END_MULTIPART
This token indicates, that a multipart body has been parsed.
|
T_END_OF_STREAM
This token indicates, that the MIME stream has been completely
and successfully parsed, and no more data is available.
|
T_EPILOGUE
This token indicates, that a multiparts epilogue is being
parsed.
|
T_FIELD
This token indicates, that a message parts field has now
been parsed.
|
T_PREAMBLE
This token indicates, that a multiparts preamble is being
parsed.
|
T_RAW_ENTITY
This token indicates, that a raw entity is currently being processed.
|
T_START_BODYPART
This token indicates, that the MIME stream is currently
at the beginning of a body part.
|
T_START_HEADER
This token indicates, that a message parts headers are now
being parsed.
|
T_START_MESSAGE
This token indicates, that the MIME stream is currently
at the beginning of a message.
|
T_START_MULTIPART
This token indicates, that a multipart body is being parsed.
|
Modifier and Type | Method and Description |
---|---|
static EntityState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EntityState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EntityState T_START_MESSAGE
public static final EntityState T_END_MESSAGE
public static final EntityState T_RAW_ENTITY
public static final EntityState T_START_HEADER
public static final EntityState T_FIELD
public static final EntityState T_END_HEADER
public static final EntityState T_START_MULTIPART
public static final EntityState T_END_MULTIPART
public static final EntityState T_PREAMBLE
public static final EntityState T_EPILOGUE
public static final EntityState T_START_BODYPART
public static final EntityState T_END_BODYPART
public static final EntityState T_BODY
public static final EntityState T_END_OF_STREAM
public static EntityState[] values()
for (EntityState c : EntityState.values()) System.out.println(c);
public static EntityState valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullCopyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.