| Package | Description |
|---|---|
| javax.activation |
| 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
Locate a DataContentHandler that corresponds to the MIME type.
|
CommandInfo |
CommandMap.getAllCommands(String
Get all the available commands for this type.
|
CommandInfo |
CommandMap.getCommand(String
Get the default command corresponding to the MIME type.
|
Object |
DataContentHandler.getContent(DataSource
Return an object representing the data in its most preferred form.
|
CommandInfo |
CommandMap.getPreferredCommands(String
Get the preferred command list from a MIME Type.
|
Object |
DataContentHandler.getTransferData(DataFlavor
Returns an object which represents the data to be transferred.
|
| Constructor and Description | |
|---|---|
DataHandler(DataSource
Create a
DataHandler instance referencing the specified DataSource.
|