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 Details

    • ImageDataContentHandler

      public ImageDataContentHandler()
  • Method Details

    • getContent

      public Object getContent(jakarta.activation.DataSource ds) throws IOException
      Specified by:
      getContent in interface jakarta.activation.DataContentHandler
      Throws:
      IOException
    • getTransferData

      public Object getTransferData(jakarta.activation.ActivationDataFlavor df, jakarta.activation.DataSource ds) throws IOException
      Specified by:
      getTransferData in interface jakarta.activation.DataContentHandler
      Throws:
      IOException
    • getTransferDataFlavors

      public jakarta.activation.ActivationDataFlavor[] getTransferDataFlavors()
      Specified by:
      getTransferDataFlavors in interface jakarta.activation.DataContentHandler
    • writeTo

      public void writeTo(Object obj, String mimeType, OutputStream os) throws IOException
      Specified by:
      writeTo in interface jakarta.activation.DataContentHandler
      Throws:
      IOException