API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.activation. DataContentHandler View Source
Author(s)
Since
1.6
Version
Serial
Hierarchy
 DataContentHandler
Subinterfaces
Description
public interface DataContentHandler
  The DataContentHandler interface is implemented by objects that can be used to extend the capabilities of the DataHandler's implementation of the Transferable interface.
See also:   
Methods
Hide/Show inherited methods
public Object getContent (DataSource ds) throws IOException
  Return an object representing the data in its most preferred form.
public Object getTransferData (DataFlavor df, DataSource ds) throws UnsupportedFlavorException IOException
  Returns an object which represents the data to be transferred.
public DataFlavor getTransferDataFlavors ()
  Returns an array of DataFlavor objects indicating the flavors the data can be provided in.
public void writeTo (Object obj, String mimeType, OutputStream os) throws IOException
  Convert the object to a byte stream of the specified MIME type and write it to the output stream.
Fields
Hide/Show inherited fields
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar