Package | Description |
---|---|
javax.activation |
The JavaBeans(TM) Activation Framework is used by the JavaMail(TM)
API to manage MIME data.
|
Modifier and Type | Class and Description |
---|---|
(package private) class |
DataHandlerDataSource
The DataHanderDataSource class implements the
DataSource interface when the DataHandler is constructed
with an Object and a mimeType string.
|
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 | Field and Description |
---|---|
private DataSource |
DataHandler.dataSource |
private DataSource |
DataSourceDataContentHandler.ds |
private DataSource |
DataHandler.objDataSource |
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(java.lang.String mimeType,
DataSource ds)
Locate a DataContentHandler that corresponds to the MIME type.
|
CommandInfo[] |
CommandMap.getAllCommands(java.lang.String mimeType,
DataSource ds)
Get all the available commands for this type.
|
CommandInfo |
CommandMap.getCommand(java.lang.String mimeType,
java.lang.String cmdName,
DataSource ds)
Get the default command corresponding to the MIME type.
|
java.lang.Object |
DataContentHandler.getContent(DataSource ds)
Return an object representing the data in its most preferred form.
|
java.lang.Object |
DataSourceDataContentHandler.getContent(DataSource ds) |
java.lang.Object |
ObjectDataContentHandler.getContent(DataSource ds) |
CommandInfo[] |
CommandMap.getPreferredCommands(java.lang.String mimeType,
DataSource ds)
Get the preferred command list from a MIME Type.
|
java.lang.Object |
DataContentHandler.getTransferData(java.awt.datatransfer.DataFlavor df,
DataSource ds)
Returns an object which represents the data to be transferred.
|
java.lang.Object |
DataSourceDataContentHandler.getTransferData(java.awt.datatransfer.DataFlavor df,
DataSource ds)
Return the Transfer Data of type DataFlavor from InputStream.
|
java.lang.Object |
ObjectDataContentHandler.getTransferData(java.awt.datatransfer.DataFlavor df,
DataSource ds)
Return the Transfer Data of type DataFlavor from InputStream.
|
Constructor and Description |
---|
DataHandler(DataSource ds)
Create a
DataHandler instance referencing the
specified DataSource. |
DataSourceDataContentHandler(DataContentHandler dch,
DataSource ds)
The constructor.
|