Package com.isode.som.messages
Class SomRfc822Message
java.lang.Object
com.isode.som.messages.SomMessage
com.isode.som.messages.SomRfc822Message
Class for handling RFC822 messages returned by SOM commands
- Author:
- tc
-
Field Summary
Fields inherited from class com.isode.som.messages.SomMessage
data -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.isode.x400api.BodyPartgetBodypart(int num) byte[]getByteArrayAttribute(int type) intgetIntegerAttribute(int type) com.isode.x400api.RecipgetRecipient(int type, int num) getStringAttribute(int type) Methods inherited from class com.isode.som.messages.SomMessage
getData
-
Constructor Details
-
SomRfc822Message
public SomRfc822Message(byte[] d)
-
-
Method Details
-
getStringAttribute
- Specified by:
getStringAttributein classSomMessage- Throws:
SomException
-
getIntegerAttribute
- Specified by:
getIntegerAttributein classSomMessage- Throws:
SomException
-
getRecipient
- Specified by:
getRecipientin classSomMessage- Throws:
SomException
-
getBodypart
- Specified by:
getBodypartin classSomMessage- Throws:
SomException
-
getPriorityName
- Specified by:
getPriorityNamein classSomMessage- Throws:
SomException
-
getByteArrayAttribute
- Specified by:
getByteArrayAttributein classSomMessage- Parameters:
type- attribute type- Returns:
- a byte array with the value of the requested attribute (type), or null, if the attribute is not present of if there was an error in retrieving it. The attribute type may not be null.
- Throws:
SomException- on error
-