DataContentHandlerpublic class message_rfc822 extends handler_base
| Constructor | Description |
|---|---|
message_rfc822() |
| Modifier and Type | Method | Description |
|---|---|---|
Object |
getContent(DataSource ds) |
Return the content.
|
protected ActivationDataFlavor[] |
getDataFlavors() |
Return an array of ActivationDataFlavors that we support.
|
void |
writeTo(Object obj,
String mimeType,
OutputStream os) |
Write the object as a byte stream.
|
getData, getTransferData, getTransferDataFlavorsprotected ActivationDataFlavor[] getDataFlavors()
handler_basegetDataFlavors in class handler_basepublic Object getContent(DataSource ds) throws IOException
IOExceptionpublic void writeTo(Object obj, String mimeType, OutputStream os) throws IOException
IOExceptionCopyright © 2018 Oracle. All rights reserved.