public class text_plain extends handler_base
| Constructor and Description |
|---|
text_plain() |
| Modifier and Type | Method and Description |
|---|---|
Object |
getContent(DataSource ds) |
protected ActivationDataFlavor[] |
getDataFlavors()
Return an array of ActivationDataFlavors that we support.
|
void |
writeTo(Object obj,
String type,
OutputStream os)
Write the object to the output stream, using the specified MIME type.
|
getData, getTransferData, getTransferDataFlavorsprotected ActivationDataFlavor[] getDataFlavors()
handler_basegetDataFlavors in class handler_basepublic Object getContent(DataSource ds) throws IOException
IOExceptionpublic void writeTo(Object obj, String type, OutputStream os) throws IOException
IOExceptionCopyright © 2017 Oracle. All rights reserved.