Uses of Class
com.sun.xml.messaging.saaj.packaging.mime.MessagingException
Package
Description
-
Uses of MessagingException in com.sun.xml.messaging.saaj.packaging.mime
Modifier and TypeMethodDescriptionMultipartDataSource.getBodyPart
(int index) Get the specified MimeBodyPart. -
Uses of MessagingException in com.sun.xml.messaging.saaj.packaging.mime.internet
Modifier and TypeClassDescriptionclass
The exception thrown due to an error in parsing RFC822 or MIME headersModifier and TypeMethodDescriptionprotected InternetHeaders
MimeMultipart.createInternetHeaders
(InputStream is) Create and return an InternetHeaders object that loads the headers from the given InputStream.protected MimeBodyPart
MimeMultipart.createMimeBodyPart
(InputStream is) Create and return a MimeBodyPart object to represent a body part parsed from the InputStream.static InputStream
MimeUtility.decode
(InputStream is, String encoding) Decode the given input stream.static OutputStream
MimeUtility.encode
(OutputStream os, String encoding) Wrap an encoder around the given output stream.static OutputStream
MimeUtility.encode
(OutputStream os, String encoding, String filename) Wrap an encoder around the given output stream.MimeMultipart.getBodyPart
(int index) Get the specified MimeBodyPart.MimeMultipart.getBodyPart
(String CID) Get the MimeBodyPart referred to by the given ContentID (CID).String[]
MimeBodyPart.getContentLanguage()
Get the languages specified in the Content-Language header of this MimeBodyPart.int
MimeMultipart.getCount()
Return the number of enclosed MimeBodyPart objects.MimeBodyPart.getDisposition()
Returns the value of the "Content-Disposition" header field.MimeBodyPart.getEncoding()
Returns the content transfer encoding from the "Content-Transfer-Encoding" header field.MimeBodyPart.getFileName()
Get the filename associated with this body part.MimeBodyPart.getRawInputStream()
Return an InputStream to the raw data with any Content-Transfer-Encoding intact.BMMimeMultipart.initStream()
void
InternetHeaders.load
(InputStream is) Read and parse the given RFC822 message stream till the blank line separating the header from the body.protected void
BMMimeMultipart.parse()
Parse the InputStream from our DataSource, constructing the appropriate MimeBodyParts.protected void
MimeMultipart.parse()
Parse the InputStream from our DataSource, constructing the appropriate MimeBodyParts.protected void
MimePullMultipart.parse()
void
MimePullMultipart.parseAll()
org.jvnet.mimepull.MIMEPart
MimePullMultipart.readAndReturnSOAPPart()
protected void
MimePullMultipart.readSOAPPart()
boolean
MimeMultipart.removeBodyPart
(MimeBodyPart part) Remove the specified part from the multipart message.void
MimeBodyPart.setDescription
(String description) Set the "Content-Description" header field for this body part.void
MimeBodyPart.setDescription
(String description, String charset) Set the "Content-Description" header field for this body part.void
MimeBodyPart.setDisposition
(String disposition) Set the "Content-Disposition" header field of this body part.void
MimeBodyPart.setFileName
(String filename) Set the filename associated with this body part, if possible.protected void
MimeMultipart.setMultipartDataSource
(MultipartDataSource mp) Setup this MimeMultipart object from the given MultipartDataSource.protected void
MimeBodyPart.updateHeaders()
Examine the content of this body part and update the appropriate MIME headers.protected void
MimeMultipart.updateHeaders()
Update headers.void
BMMimeMultipart.writeTo
(OutputStream os) Iterates through all the parts and outputs each Mime part separated by a boundary.void
MimeBodyPart.writeTo
(OutputStream os) Output the body part as an RFC 822 format stream.void
MimeMultipart.writeTo
(OutputStream os) Iterates through all the parts and outputs each Mime part separated by a boundary.ModifierConstructorDescriptionBMMimeMultipart
(jakarta.activation.DataSource ds, ContentType ct) Constructs a MimeMultipart object and its bodyparts from the given DataSource.Read and parse the given RFC822 message stream till the blank line separating the header from the body.Constructs a MimeBodyPart by reading and parsing the data from the specified input stream.MimeMultipart
(jakarta.activation.DataSource ds, ContentType ct) Constructs a MimeMultipart object and its bodyparts from the given DataSource.MimePullMultipart
(jakarta.activation.DataSource ds, ContentType ct)