|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opencrx.application.mail.importer.MessageContent
public class MessageContent
Utility class to be able to handle non text content of email messages.
| Constructor Summary | |
|---|---|
MessageContent(String id,
String section,
String mimeType,
Object binaryContent)
Constructor. |
|
| Method Summary | |
|---|---|
Object |
getContent()
Returns the message content as Object. |
String |
getContentType()
Returns the type of this instance of MessageContent. |
String |
getId()
Returns the id of this instance of MessageContent. |
InputStream |
getInputStream()
Returns an InputStream to be able to read the real content of the MessageContent object from. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MessageContent(String id,
String section,
String mimeType,
Object binaryContent)
id - The id, e.g. the filename of the message contentsection - content sectionmimeType - The mime type of the contentbinaryContent - The content| Method Detail |
|---|
public InputStream getInputStream()
public Object getContent()
public String getContentType()
public String getId()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||