public class text_xml extends text_plain
Constructor and Description |
---|
text_xml() |
Modifier and Type | Method and Description |
---|---|
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 mimeType,
java.io.OutputStream os)
Write the object to the output stream, using the specified MIME type.
|
getContent
public java.awt.datatransfer.DataFlavor[] getTransferDataFlavors()
DataContentHandler
.getTransferDataFlavors
in interface javax.activation.DataContentHandler
getTransferDataFlavors
in class text_plain
public java.lang.Object getTransferData(java.awt.datatransfer.DataFlavor df, javax.activation.DataSource ds) throws java.io.IOException
getTransferData
in interface javax.activation.DataContentHandler
getTransferData
in class text_plain
df
- the DataFlavords
- the InputStream corresponding to the datajava.io.IOException
public void writeTo(java.lang.Object obj, java.lang.String mimeType, java.io.OutputStream os) throws java.io.IOException
text_plain
writeTo
in interface javax.activation.DataContentHandler
writeTo
in class text_plain
java.io.IOException
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"