public interface MessageBuilder
Message
and other DOM elements either without
any content, by copying content of an existing object or by reading content from
an InputStream
.Modifier and Type | Method and Description |
---|---|
Header |
newHeader() |
Header |
newHeader(Header source) |
Message |
newMessage() |
Message |
newMessage(Message source) |
Multipart |
newMultipart(Multipart source) |
Multipart |
newMultipart(java.lang.String subType) |
Header |
parseHeader(java.io.InputStream source) |
Message |
parseMessage(java.io.InputStream source) |
Header newHeader()
Multipart newMultipart(java.lang.String subType)
Message newMessage()
Header parseHeader(java.io.InputStream source) throws MimeException, java.io.IOException
MimeException
java.io.IOException
Message parseMessage(java.io.InputStream source) throws MimeException, java.io.IOException
MimeException
java.io.IOException