Package | Description |
---|---|
com.sun.xml.messaging.saaj.packaging.mime | |
com.sun.xml.messaging.saaj.packaging.mime.internet |
Modifier and Type | Method and Description |
---|---|
MimeBodyPart |
MultipartDataSource.getBodyPart(int index)
Get the specified MimeBodyPart.
|
Modifier and Type | Class and Description |
---|---|
class |
ParseException
The exception thrown due to an error in parsing RFC822
or MIME headers
|
Modifier and Type | Method and Description |
---|---|
protected 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.
|
MimeBodyPart |
MimeMultipart.getBodyPart(int index)
Get the specified MimeBodyPart.
|
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.
|
String |
MimeBodyPart.getDisposition()
Returns the value of the "Content-Disposition" header field.
|
String |
MimeBodyPart.getEncoding()
Returns the content transfer encoding from the
"Content-Transfer-Encoding" header
field.
|
String |
MimeBodyPart.getFileName()
Get the filename associated with this body part.
|
InputStream |
MimeBodyPart.getRawInputStream()
Return an InputStream to the raw data with any Content-Transfer-Encoding
intact.
|
InputStream |
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 |
MimePullMultipart.parse() |
protected void |
MimeMultipart.parse()
Parse the InputStream from our DataSource, constructing the
appropriate MimeBodyParts.
|
void |
MimePullMultipart.parseAll() |
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.
|
Constructor and Description |
---|
BMMimeMultipart(DataSource ds,
ContentType ct)
Constructs a MimeMultipart object and its bodyparts from the
given DataSource.
|
InternetHeaders(InputStream is)
Read and parse the given RFC822 message stream till the
blank line separating the header from the body.
|
MimeBodyPart(InputStream is)
Constructs a MimeBodyPart by reading and parsing the data from
the specified input stream.
|
MimeMultipart(DataSource ds,
ContentType ct)
Constructs a MimeMultipart object and its bodyparts from the
given DataSource.
|
MimePullMultipart(DataSource ds,
ContentType ct) |
Copyright © 2021 JBoss by Red Hat. All rights reserved.