public class MessageHandler extends Object implements DataContentHandler
| Constructor and Description |
|---|
MessageHandler() |
| Modifier and Type | Method and Description |
|---|---|
Object |
getContent(DataSource datasource)
Method getContent
|
protected ActivationDataFlavor |
getDF()
Method getDF
|
Object |
getTransferData(DataFlavor dataflavor,
DataSource datasource)
Method getTransferData
|
DataFlavor[] |
getTransferDataFlavors()
Method getTransferDataFlavors
|
void |
writeTo(Object object,
String s,
OutputStream outputstream)
Method writeTo
|
protected ActivationDataFlavor getDF()
public DataFlavor[] getTransferDataFlavors()
getTransferDataFlavors in interface DataContentHandlerpublic Object getTransferData(DataFlavor dataflavor, DataSource datasource) throws IOException
getTransferData in interface DataContentHandlerdataflavor - datasource - IOExceptionpublic Object getContent(DataSource datasource) throws IOException
getContent in interface DataContentHandlerdatasource - IOExceptionpublic void writeTo(Object object, String s, OutputStream outputstream) throws IOException
writeTo in interface DataContentHandlerobject - s - outputstream - IOExceptionCopyright © 2022. All rights reserved.