|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sapportals.wcm.service.notificator.MimeUtils
MimeUtils for using mime messages with the notificator.
Copyright 2004 SAP AG
| Constructor Summary | |
MimeUtils()
|
|
| Method Summary | |
static void |
copyContentToOutputstream(IContent content,
OutputStream out)
|
static IContent |
getContent(MimePart mimepart)
set the content of a MimeMessage to the given body content. |
static String |
getContentAsString(IContent content)
convert a IContent to a string. |
static IContent |
getContentFromString(String text,
String type)
convert a String to a content. |
static MimeMessage |
setContent(MimeMessage mimemessage,
IContent body)
set the content of a MimeMessage to the given body content. |
static MimeMessage |
setContent(MimeMessage mimemessage,
IContent body,
IResource[] attachments)
set the content of a MimeMessage to a given body content with
several attachments. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MimeUtils()
| Method Detail |
public static void copyContentToOutputstream(IContent content,
OutputStream out)
throws WcmException
WcmException
public static IContent getContentFromString(String text,
String type)
throws WcmException
String to a content.
text - TBD: Description of the incoming method parametertype - TBD: Description of the incoming method parameter
IContent is the content object for the converted
String.
WcmException - Exception raised in failure situation
public static String getContentAsString(IContent content)
throws WcmException
IContent to a string.
content - TBD: Description of the incoming method parameter
String is the content converted to a String.
WcmException - Exception raised in failure situation
public static IContent getContent(MimePart mimepart)
throws WcmException
MimeMessage to the given body content.
mimepart - TBD: Description of the incoming method parameter
MimeMessage the mime message.
WcmException - if the message could not be generated.
public static MimeMessage setContent(MimeMessage mimemessage,
IContent body)
throws WcmException
MimeMessage to the given body content.
mimemessage - content to be setbody - content to be set
MimeMessage the mime message.
WcmException - if the message could not be generated.
public static MimeMessage setContent(MimeMessage mimemessage,
IContent body,
IResource[] attachments)
throws WcmException
MimeMessage to a given body content with
several attachments.
mimemessage - content to be setbody - content to be setattachments - content to be set
MimeMessage the mime message.
WcmException - if the message could not be generated.
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||