public class text_xml extends text_plain
| 构造器和说明 |
|---|
text_xml() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected Object |
getData(ActivationDataFlavor aFlavor,
DataSource ds)
Given the flavor that matched, return the appropriate type of object.
|
protected 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 ActivationDataFlavor[] getDataFlavors()
handler_basegetDataFlavors 在类中 text_plainprotected Object getData(ActivationDataFlavor aFlavor, DataSource ds) throws IOException
handler_basegetData 在类中 handler_baseaFlavor - the ActivationDataFlavords - DataSource containing the dataIOException - for errors reading the datapublic void writeTo(Object obj, String mimeType, OutputStream os) throws IOException
text_plainwriteTo 在接口中 DataContentHandlerwriteTo 在类中 text_plainIOExceptionCopyright © 2021 Oracle. All rights reserved.