public abstract class handler_base
extends java.lang.Object
implements javax.activation.DataContentHandler
Constructor and Description |
---|
handler_base() |
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 . |
public java.awt.datatransfer.DataFlavor[] getTransferDataFlavors()
DataContentHandler
.getTransferDataFlavors
in interface javax.activation.DataContentHandler
public java.lang.Object getTransferData(java.awt.datatransfer.DataFlavor df, javax.activation.DataSource ds) throws java.io.IOException
getTransferData
in interface javax.activation.DataContentHandler
df
- The DataFlavords
- The DataSource corresponding to the datajava.io.IOException
- for errors reading the dataCopyright © 2010 - 2020 Adobe. All Rights Reserved