Package | Description |
---|---|
com.sun.mail.handlers | |
com.sun.mail.imap |
An IMAP protocol provider for the JavaMail API
that provides access to an IMAP message store.
|
javax.activation |
The JavaBeans(TM) Activation Framework is used by the JavaMail(TM)
API to manage MIME data.
|
javax.mail |
The JavaMailTM API
provides classes that model a mail system.
|
javax.mail.internet |
Classes specific to Internet mail systems.
|
javax.mail.util |
JavaMail API utility classes.
|
org.apache.cxf.attachment | |
org.jboss.resteasy.plugins.providers | |
org.jboss.resteasy.plugins.providers.multipart |
Modifier and Type | Method and Description |
---|---|
Object |
text_plain.getContent(DataSource ds) |
Object |
multipart_mixed.getContent(DataSource ds)
Return the content.
|
Object |
message_rfc822.getContent(DataSource ds)
Return the content.
|
Object |
image_gif.getContent(DataSource ds) |
protected Object |
text_xml.getData(ActivationDataFlavor aFlavor,
DataSource ds) |
protected Object |
handler_base.getData(ActivationDataFlavor aFlavor,
DataSource ds)
Given the flavor that matched, return the appropriate type of object.
|
Object |
handler_base.getTransferData(DataFlavor df,
DataSource ds)
Return the Transfer Data of type DataFlavor from InputStream.
|
Modifier and Type | Class and Description |
---|---|
class |
IMAPMultipartDataSource
This class
|
Modifier and Type | Class and Description |
---|---|
class |
FileDataSource
The FileDataSource class implements a simple DataSource object
that encapsulates a file.
|
class |
URLDataSource
The URLDataSource class provides an object that wraps a
URL
object in a DataSource interface. |
Modifier and Type | Method and Description |
---|---|
DataSource |
DataHandler.getDataSource()
Return the DataSource associated with this instance
of DataHandler.
|
Modifier and Type | Method and Description |
---|---|
DataContentHandler |
CommandMap.createDataContentHandler(String mimeType,
DataSource ds)
Locate a DataContentHandler that corresponds to the MIME type.
|
CommandInfo[] |
CommandMap.getAllCommands(String mimeType,
DataSource ds)
Get all the available commands for this type.
|
CommandInfo |
CommandMap.getCommand(String mimeType,
String cmdName,
DataSource ds)
Get the default command corresponding to the MIME type.
|
Object |
DataContentHandler.getContent(DataSource ds)
Return an object representing the data in its most preferred form.
|
CommandInfo[] |
CommandMap.getPreferredCommands(String mimeType,
DataSource ds)
Get the preferred command list from a MIME Type.
|
Object |
DataContentHandler.getTransferData(DataFlavor df,
DataSource ds)
Returns an object which represents the data to be transferred.
|
Constructor and Description |
---|
DataHandler(DataSource ds)
Create a
DataHandler instance referencing the
specified DataSource. |
Modifier and Type | Interface and Description |
---|---|
interface |
MultipartDataSource
MultipartDataSource is a
DataSource that contains body
parts. |
Modifier and Type | Class and Description |
---|---|
class |
MimePartDataSource
A utility class that implements a DataSource out of
a MimePart.
|
Modifier and Type | Field and Description |
---|---|
protected DataSource |
MimeMultipart.ds
The DataSource supplying our InputStream.
|
Modifier and Type | Method and Description |
---|---|
static String |
MimeUtility.getEncoding(DataSource ds)
Get the Content-Transfer-Encoding that should be applied
to the input stream of this DataSource, to make it mail-safe.
|
Constructor and Description |
---|
MimeMultipart(DataSource ds)
Constructs a MimeMultipart object and its bodyparts from the
given DataSource.
|
Modifier and Type | Class and Description |
---|---|
class |
ByteArrayDataSource
A DataSource backed by a byte array.
|
Modifier and Type | Class and Description |
---|---|
class |
AttachmentDataSource |
class |
ByteDataSource |
class |
LazyDataSource
A DataSource which will search through a Collection of attachments so as to
lazily load the attachment from the collection.
|
Modifier and Type | Method and Description |
---|---|
static DataSource |
AttachmentUtil.getAttachmentDataSource(String contentId,
Collection<Attachment> atts) |
DataSource |
LazyDataSource.getDataSource() |
Modifier and Type | Method and Description |
---|---|
Object |
ImageDataContentHandler.getContent(DataSource ds) |
Object |
ImageDataContentHandler.getTransferData(DataFlavor df,
DataSource ds) |
void |
LazyDataSource.setDataSource(DataSource dataSource) |
Modifier and Type | Class and Description |
---|---|
protected static class |
DataSourceProvider.SequencedDataSource |
Modifier and Type | Method and Description |
---|---|
static DataSource |
DataSourceProvider.readDataSource(InputStream in,
MediaType mediaType) |
DataSource |
DataSourceProvider.readFrom(Class<DataSource> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders,
InputStream entityStream)
FIXME Comment this
|
Modifier and Type | Method and Description |
---|---|
void |
DataSourceProvider.writeTo(DataSource dataSource,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream)
FIXME Comment this
|
Modifier and Type | Method and Description |
---|---|
DataSource |
DataSourceProvider.readFrom(Class<DataSource> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders,
InputStream entityStream)
FIXME Comment this
|
Modifier and Type | Method and Description |
---|---|
static DataSource |
MimeMultipartProvider.readDataSource(InputStream in,
MediaType mediaType) |
Copyright © 2016 JBoss by Red Hat. All rights reserved.