javax.activation
Interface DataContentHandler


public interface DataContentHandler

Version:
$Rev: 54266 $ $Date: 2004-10-10 14:02:50 -0700 (Sun, 10 Oct 2004) $

Method Summary
 Object getContent(DataSource ds)
           
 Object getTransferData(DataFlavor df, DataSource ds)
           
 DataFlavor[] getTransferDataFlavors()
           
 void writeTo(Object obj, String mimeType, OutputStream os)
           
 

Method Detail

getTransferDataFlavors

DataFlavor[] getTransferDataFlavors()

getTransferData

Object getTransferData(DataFlavor df,
                       DataSource ds)
                       throws UnsupportedFlavorException,
                              IOException
Throws:
UnsupportedFlavorException
IOException

getContent

Object getContent(DataSource ds)
                  throws IOException
Throws:
IOException

writeTo

void writeTo(Object obj,
             String mimeType,
             OutputStream os)
             throws IOException
Throws:
IOException


Copyright © 2006 Apache Software Foundation. All Rights Reserved.