org.apache.james.mime4j.parser
public class RawEntity extends java.lang.Object implements EntityStateMachine
Modifier and Type | Method and Description |
---|---|
EntityStateMachine |
advance()
Advances the state machine to the next state in the
process of the MIME stream parsing.
|
BodyDescriptor |
getBodyDescriptor()
This method has no effect and always returns
null . |
java.io.InputStream |
getContentStream()
Returns raw data stream.
|
Field |
getField()
This method has no effect and always returns
null . |
java.lang.String |
getFieldName()
This method has no effect and always returns
null . |
java.lang.String |
getFieldValue()
This method has no effect and always returns
null . |
int |
getState()
Return the current state of the entity.
|
void |
setRecursionMode(int recursionMode)
This method has no effect.
|
public int getState()
EntityStateMachine
getState
in interface EntityStateMachine
EntityStates
public void setRecursionMode(int recursionMode)
setRecursionMode
in interface EntityStateMachine
RecursionMode
public EntityStateMachine advance()
EntityStateMachine
advance
in interface EntityStateMachine
null
otherwise.public java.io.InputStream getContentStream()
getContentStream
in interface EntityStateMachine
public BodyDescriptor getBodyDescriptor()
null
.getBodyDescriptor
in interface EntityStateMachine
public Field getField()
null
.getField
in interface EntityStateMachine
public java.lang.String getFieldName()
null
.public java.lang.String getFieldValue()
null
.Copyright © 2004-2014. All Rights Reserved.