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 DataContentHandlerIOExceptionpublic Object getTransferData(DataFlavor df, DataSource ds) throws UnsupportedFlavorException, IOException
getTransferData in interface DataContentHandlerUnsupportedFlavorExceptionIOExceptionpublic DataFlavor[] getTransferDataFlavors()
getTransferDataFlavors in interface DataContentHandlerpublic void writeTo(Object obj, String mimeType, OutputStream os) throws IOException
writeTo in interface DataContentHandlerIOExceptionApache CXF