Located in compilation unit of javax.
| Modifier and Type | Field and Description |
|---|---|
| private DataContentHandler | |
| private DataSource | |
| private DataFlavor[] |
| 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 javax. |
| public Object | Returns: the constructed Objectthe DataFlavor df, DataSource the DataSource ds)Implements javax. |
| public DataFlavor[] | Returns: the DataFlavorsImplements javax. 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 javax. |
| dch | back to summary |
|---|---|
| private DataContentHandler dch | |
| ds | back to summary |
|---|---|
| private DataSource ds | |
| transferFlavors | back to summary |
|---|---|
| private DataFlavor[] 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 javax. Doc from javax. Return an object representing the data in its most preferred form.
Generally this will be the form described by the first DataFlavor
returned by the
| |
| getTransferData | back to summary |
|---|---|
| public Object getTransferData(DataFlavor df, DataSource ds) throws UnsupportedFlavorException, IOException Implements javax. Return the Transfer Data of type DataFlavor from InputStream.
| |
| getTransferDataFlavors | back to summary |
|---|---|
| public DataFlavor[] getTransferDataFlavors() Implements javax. Return the DataFlavors for this
| |
| writeTo | back to summary |
|---|---|
| public void writeTo(Object obj, String mimeType, OutputStream os) throws IOException Implements javax. Write the object to the output stream.
| |