javax.activation
Interface DataContentHandler
- public interface DataContentHandler
- Version:
- $Revision: 1.3 $ $Date: 2004/03/10 10:00:22 $
getTransferDataFlavors
public DataFlavor[] getTransferDataFlavors()
getTransferData
public Object getTransferData(DataFlavor df,
DataSource ds)
throws UnsupportedFlavorException,
IOException
- Throws:
UnsupportedFlavorException
IOException
getContent
public Object getContent(DataSource ds)
throws IOException
- Throws:
IOException
writeTo
public void writeTo(Object obj,
String mimeType,
OutputStream os)
throws IOException
- Throws:
IOException
Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.