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