public class RawEntity extends java.lang.Object implements EntityStateMachine
Description:
Title:首亨软件 - TSS/CRM等
| 限定符和类型 | 方法和说明 |
|---|---|
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.
|
java.io.InputStream |
getDecodedContentStream()
Returns the decoded content stream of the entity body.
|
RawField |
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. |
EntityState |
getState()
Return the current state of the entity.
|
void |
setRecursionMode(RecursionMode recursionMode)
This method has no effect.
|
public EntityState getState()
EntityStateMachinegetState 在接口中 EntityStateMachineEntityStatepublic void setRecursionMode(RecursionMode recursionMode)
setRecursionMode 在接口中 EntityStateMachinerecursionMode - RecursionModepublic EntityStateMachine advance()
EntityStateMachineadvance 在接口中 EntityStateMachinenull otherwise.public java.io.InputStream getContentStream()
getContentStream 在接口中 EntityStateMachinepublic BodyDescriptor getBodyDescriptor()
null.getBodyDescriptor 在接口中 EntityStateMachinepublic RawField getField()
null.getField 在接口中 EntityStateMachinepublic java.lang.String getFieldName()
null.public java.lang.String getFieldValue()
null.public java.io.InputStream getDecodedContentStream()
throws java.lang.IllegalStateException
EntityStateMachinegetDecodedContentStream 在接口中 EntityStateMachinejava.lang.IllegalStateException - if the content stream cannot be
obtained at the current stage of the parsing process.