Package com.isode.som.messages
Class SomMessage
java.lang.Object
com.isode.som.messages.SomMessage
- Direct Known Subclasses:
SomRfc822Message,SomX400Message
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract com.isode.x400api.BodyPartgetBodypart(int num) abstract byte[]getByteArrayAttribute(int type) getData()abstract intgetIntegerAttribute(int type) abstract Stringabstract com.isode.x400api.RecipgetRecipient(int type, int num) abstract StringgetStringAttribute(int type)
-
Field Details
-
data
-
-
Constructor Details
-
SomMessage
public SomMessage()
-
-
Method Details
-
getData
-
getStringAttribute
- Throws:
SomException
-
getIntegerAttribute
- Throws:
SomException
-
getRecipient
- Throws:
SomException
-
getBodypart
- Throws:
SomException
-
getPriorityName
- Throws:
SomException
-
getByteArrayAttribute
- 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
-