Located in compilation unit of jakarta.
| Modifier and Type | Field and Description |
|---|---|
| private DataContentHandler | |
| private DataSource | |
| private ActivationDataFlavor[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | getContent(DataSource
The DataSource representing the data to be converted. ds)Implements jakarta. |
| public Object | Returns: the constructed Objectthe ActivationDataFlavor df, DataSource the DataSource ds)Implements jakarta. |
| public ActivationDataFlavor[] | Returns: the ActivationDataFlavorsImplements jakarta. DataContentHandler.
|
| public void | writeTo(Object
The object to be converted. obj, String The requested MIME type of the resulting byte stream. mimeType, OutputStream The output stream into which to write the converted
byte stream. os)Implements jakarta. |
| dch | back to summary |
|---|---|
| private DataContentHandler dch | |
| ds | back to summary |
|---|---|
| private DataSource ds | |
| transferFlavors | back to summary |
|---|---|
| private ActivationDataFlavor[] transferFlavors | |
| DataSourceDataContentHandler | back to summary |
|---|---|
| public DataSourceDataContentHandler(DataContentHandler dch, DataSource ds) The constructor. | |
| getContent | back to summary |
|---|---|
| public Object getContent(DataSource ds) throws IOException Implements jakarta. Doc from jakarta. Return an object representing the data in its most preferred form.
Generally this will be the form described by the first
ActivationDataFlavor returned by the
| |
| getTransferData | back to summary |
|---|---|
| public Object getTransferData(ActivationDataFlavor df, DataSource ds) throws IOException Implements jakarta. Return the Transfer Data of type ActivationDataFlavor from InputStream.
| |
| getTransferDataFlavors | back to summary |
|---|---|
| public ActivationDataFlavor[] getTransferDataFlavors() Implements jakarta. Return the ActivationDataFlavors for this
| |
| writeTo | back to summary |
|---|---|
| public void writeTo(Object obj, String mimeType, OutputStream os) throws IOException Implements jakarta. Write the object to the output stream.
| |