| Constructor and Description |
|---|
text_plain() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getContent(javax.activation.DataSource ds) |
java.lang.Object |
getTransferData(java.awt.datatransfer.DataFlavor df,
javax.activation.DataSource ds)
Return the Transfer Data of type DataFlavor from InputStream.
|
java.awt.datatransfer.DataFlavor[] |
getTransferDataFlavors()
Return the DataFlavors for this
DataContentHandler. |
void |
writeTo(java.lang.Object obj,
java.lang.String type,
java.io.OutputStream os)
Write the object to the output stream, using the specified MIME type.
|
public java.awt.datatransfer.DataFlavor[] getTransferDataFlavors()
DataContentHandler.getTransferDataFlavors in interface javax.activation.DataContentHandlerpublic java.lang.Object getTransferData(java.awt.datatransfer.DataFlavor df,
javax.activation.DataSource ds)
throws java.io.IOException
getTransferData in interface javax.activation.DataContentHandlerdf - The DataFlavords - The DataSource corresponding to the datajava.io.IOExceptionpublic java.lang.Object getContent(javax.activation.DataSource ds)
throws java.io.IOException
getContent in interface javax.activation.DataContentHandlerjava.io.IOExceptionpublic void writeTo(java.lang.Object obj,
java.lang.String type,
java.io.OutputStream os)
throws java.io.IOException
writeTo in interface javax.activation.DataContentHandlerjava.io.IOException"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"