|
Enhydra-Oyster 2.1-7 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.enhydra.oyster.mail.MultipartGenerator
Methods from this class are used in creation of specific MimeMultipart objects other than default multipart/mixed.
Constructor Summary | |
MultipartGenerator()
|
Method Summary | |
static javax.mail.internet.MimeMultipart |
getHtmlMultipart(java.io.InputStream content0)
Returns created MimeMultipart for text/html message with html code given through InputStream. |
static javax.mail.internet.MimeMultipart |
getHtmlMultipart(java.io.InputStream content0,
java.lang.String externalPlainText0)
Returns created MimeMultipart for text/html message with html code given through InputStream. |
static javax.mail.internet.MimeMultipart |
getHtmlMultipart(java.io.InputStream content0,
java.lang.String path0,
java.io.InputStream[] resources0)
Returns created MimeMultipart for text/html message with html code given through InputStream, path for resolving relative path of resources defined in html code and array of resources given through InputStream. |
static javax.mail.internet.MimeMultipart |
getHtmlMultipart(java.io.InputStream content0,
java.lang.String path0,
java.io.InputStream[] resources0,
java.lang.String externalPlainText0)
Returns created MimeMultipart for text/html message with html code given through InputStream, path for resolving relative path of resources defined in html code and array of resources given through InputStream. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MultipartGenerator()
Method Detail |
public static javax.mail.internet.MimeMultipart getHtmlMultipart(java.io.InputStream content0) throws SMIMEException
content0
- html code in form of InputStream
SMIMEException
- caused by non SMIMEException which is MessagingExceptionpublic static javax.mail.internet.MimeMultipart getHtmlMultipart(java.io.InputStream content0, java.lang.String externalPlainText0) throws SMIMEException
content0
- html code in form of InputStreamexternalPlainText0
- external plain text message represented as String.
If this argument has value null then autogeneration of text/plain message is
performed according to passed html code (content0 argument).
SMIMEException
- caused by non SMIMEException which is MessagingExceptionpublic static javax.mail.internet.MimeMultipart getHtmlMultipart(java.io.InputStream content0, java.lang.String path0, java.io.InputStream[] resources0) throws SMIMEException
content0
- html code in form of InputStreampath0
- common path for resolving relative referenced resources in html
code atributes of type "src" and "background".resources0
- array of resources given as array of InputStream. For more
information refer to setContent methods of classes from package:
org.enhydra.oyster.smime
SMIMEException
- caused by non SMIMEException which is MessagingExceptionpublic static javax.mail.internet.MimeMultipart getHtmlMultipart(java.io.InputStream content0, java.lang.String path0, java.io.InputStream[] resources0, java.lang.String externalPlainText0) throws SMIMEException
content0
- html code in form of InputStreampath0
- common path for resolving relative referenced resources in html
code atributes of type "src" and "background".resources0
- array of resources given as array of InputStream. For more
information refer to setContent methods of classes from package:
org.enhydra.oyster.smimeexternalPlainText0
- external plain/text message represented as String.
If this argument has value null then autogeneration of text/plain message is
performed according to passed html code (content0 argument).
SMIMEException
- caused by non SMIMEException which is MessagingException
|
Enhydra-Oyster 2.1-7 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |