|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface to build a Tnef Message from a Tnef Stream. The builder methods are invoked by a TnefStreamParser.
Method Summary | |
void |
addAttachment()
This method is called by the parser when it encounters a TNEF attachment (start of attachment) sequence. |
TnefMessage |
getMessage()
Returns the message build by this builder. |
void |
setAttachmentAttribute(int id,
byte[] data)
Sets Attachment Sequence attributes. |
void |
setContentTypes(TnefContentTypes contentTypes)
Sets the TnefContentTypes manager. |
void |
setKey(int key)
Sets the message key set defined in the TNEF stream. |
void |
setMessageAttribute(int id,
byte[] data)
Sets Message Sequence attributes. |
void |
setSignature(int signature)
Sets the TNEF stream signature. |
void |
setTnefVersion(int version)
Sets the TNEF version defined in the message stream. |
Method Detail |
public void setContentTypes(TnefContentTypes contentTypes)
contentTypes
- content-type manager.public void setSignature(int signature) throws java.io.IOException
signature
- TNEF stream signature.public void setKey(int key)
key
- message key.public void setTnefVersion(int version)
version
- TNEF message stream version.public void setMessageAttribute(int id, byte[] data)
TnefConstants
class
for list of possible attributes. The type of attribute (eg: String) can
be identified via TnefConstants.getAttType(id)
method.id
- TNEF Message Attribute mapped to MAPI.data
- data for the defined attributes.public void setAttachmentAttribute(int id, byte[] data)
TnefConstants
class
for list of possible attributes. The type of attribute (eg: String) can
be identified via TnefConstants.getAttType(id)
method.id
- TNEF Attachment Attribute mapped to MAPI.data
- data for the defined attributes.public void addAttachment()
public TnefMessage getMessage()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |