public class text_xml extends text_plain
| Constructor and Description |
|---|
text_xml() |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
getData(javax.activation.ActivationDataFlavor aFlavor,
javax.activation.DataSource ds)
Given the flavor that matched, return the appropriate type of object.
|
protected javax.activation.ActivationDataFlavor[] |
getDataFlavors()
Return an array of ActivationDataFlavors that we support.
|
void |
writeTo(Object obj,
String mimeType,
OutputStream os)
Write the object to the output stream, using the specified MIME type.
|
getContentgetTransferData, getTransferDataFlavorsprotected javax.activation.ActivationDataFlavor[] getDataFlavors()
handler_basegetDataFlavors in class text_plainprotected Object getData(javax.activation.ActivationDataFlavor aFlavor, javax.activation.DataSource ds) throws IOException
handler_basegetData in class handler_baseIOExceptionpublic void writeTo(Object obj, String mimeType, OutputStream os) throws IOException
text_plainwriteTo in interface javax.activation.DataContentHandlerwriteTo in class text_plainIOExceptionCopyright © 2015 Oracle. All rights reserved.