Located in compilation unit of javax.
| Modifier and Type | Field and Description |
|---|---|
| private DataContentHandler | |
| private String | |
| private Object | |
| 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 DataContentHandler | |
| public Object | Returns: the constructed Objectthe DataFlavor df, DataSource the DataSource ds)Implements javax. |
| public synchronized 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 | |
| mimeType | back to summary |
|---|---|
| private String mimeType | |
| obj | back to summary |
|---|---|
| private Object obj | |
| transferFlavors | back to summary |
|---|---|
| private DataFlavor[] transferFlavors | |
| ObjectDataContentHandler | back to summary |
|---|---|
| public ObjectDataContentHandler(DataContentHandler dch, Object obj, String mimeType) The constructor. | |
| getContent | back to summary |
|---|---|
| public Object getContent(DataSource ds) 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
| |
| getDCH | back to summary |
|---|---|
| public DataContentHandler getDCH() Return the DataContentHandler for this object. Used only by the DataHandler class. | |
| 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 synchronized 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.
| |