javax.activation
接口 DataContentHandler
- 所有已知实现类:
- image_gif, image_jpeg, message_deliverystatus, message_rfc822, multipart_mixed, multipart_report, text_html, text_plain, text_rfc822headers, text_xml
public interface DataContentHandler
- 版本:
- $Rev: 467742 $ $Date: 2011/05/07 04:32:39 $
getTransferDataFlavors
DataFlavor[] getTransferDataFlavors()
getTransferData
Object getTransferData(DataFlavor df,
DataSource ds)
throws UnsupportedFlavorException,
IOException
- 抛出:
UnsupportedFlavorException
IOException
getContent
Object getContent(DataSource ds)
throws IOException
- 抛出:
IOException
writeTo
void writeTo(Object obj,
String mimeType,
OutputStream os)
throws IOException
- 抛出:
IOException
Copyright © 2013. All Rights Reserved.