Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I'll lead off with the start of the description from the <a href="http://download.oracle.com/javase/6/docs/api/javax/activation/DataHandler.html" rel="noreferrer">API entry for <code>DataHandler</code></a>:</p> <blockquote> <p>The DataHandler class provides a consistent interface to data available in many different sources and formats. It manages simple stream to string conversions and related operations using DataContentHandlers.</p> </blockquote> <p>Admittedly, that's not the clearest description. <code>DataHandler</code> has to do with XML and SOAP, which you can see from the <a href="http://download.oracle.com/javase/6/docs/api/javax/activation/class-use/DataHandler.html" rel="noreferrer">the use tab of its API page</a>. Like you, I've used it to represent data about an uploaded file as it's being sent from one web service component to another for processing.</p> <p>The <code>Transferable</code> interface that <code>DataHandler</code> implements is not exactly referring to "transfer" of the kind serialization deals with. It's about transfer of information between separate components in a program, or separate programs, not saving an object for later use. See the <a href="http://download.oracle.com/javase/6/docs/api/java/awt/datatransfer/Transferable.html" rel="noreferrer">API entry for <code>Transferable</code></a> for more. You'll notice that it links to <a href="http://download.oracle.com/javase/tutorial/uiswing/dnd/intro.html" rel="noreferrer">the Drag 'n' Drop Java Tutorial</a>, which has little to do with <code>DataHandler</code> but does illustrate a use of <code>Transferable</code>.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload