Package org.apache.cxf.attachment
Class ImageDataContentHandler
java.lang.Object
org.apache.cxf.attachment.ImageDataContentHandler
- All Implemented Interfaces:
javax.activation.DataContentHandler
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetContent
(javax.activation.DataSource ds) getTransferData
(DataFlavor df, javax.activation.DataSource ds) void
writeTo
(Object obj, String mimeType, OutputStream os)
-
Constructor Details
-
ImageDataContentHandler
public ImageDataContentHandler()
-
-
Method Details
-
getContent
- Specified by:
getContent
in interfacejavax.activation.DataContentHandler
- Throws:
IOException
-
getTransferData
public Object getTransferData(DataFlavor df, javax.activation.DataSource ds) throws UnsupportedFlavorException, IOException - Specified by:
getTransferData
in interfacejavax.activation.DataContentHandler
- Throws:
UnsupportedFlavorException
IOException
-
getTransferDataFlavors
- Specified by:
getTransferDataFlavors
in interfacejavax.activation.DataContentHandler
-
writeTo
- Specified by:
writeTo
in interfacejavax.activation.DataContentHandler
- Throws:
IOException
-