public class ImageDataContentHandler extends Object implements DataContentHandler
Constructor and Description |
---|
ImageDataContentHandler() |
Modifier and Type | Method and Description |
---|---|
Object |
getContent(DataSource ds) |
Object |
getTransferData(DataFlavor df,
DataSource ds) |
DataFlavor[] |
getTransferDataFlavors() |
void |
writeTo(Object obj,
String mimeType,
OutputStream os) |
public Object getContent(DataSource ds) throws IOException
getContent
in interface DataContentHandler
IOException
public Object getTransferData(DataFlavor df, DataSource ds) throws UnsupportedFlavorException, IOException
getTransferData
in interface DataContentHandler
UnsupportedFlavorException
IOException
public DataFlavor[] getTransferDataFlavors()
getTransferDataFlavors
in interface DataContentHandler
public void writeTo(Object obj, String mimeType, OutputStream os) throws IOException
writeTo
in interface DataContentHandler
IOException
Apache CXF