DataContentHandler
public class text_plain extends handler_base
Constructor | Description |
---|---|
text_plain() |
Modifier and Type | Method | 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, getTransferDataFlavors
protected ActivationDataFlavor[] getDataFlavors()
handler_base
getDataFlavors
in class handler_base
public Object getContent(DataSource ds) throws IOException
IOException
public void writeTo(Object obj, String type, OutputStream os) throws IOException
IOException
Copyright © 2018 Oracle. All rights reserved.