public class multipart_mixed extends handler_base
| Constructor and Description |
|---|
multipart_mixed() |
| Modifier and Type | Method and Description |
|---|---|
Object |
getContent(jakarta.activation.DataSource ds)
Return the content.
|
protected jakarta.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 specific MIME type.
|
getData, getTransferData, getTransferDataFlavorsprotected jakarta.activation.ActivationDataFlavor[] getDataFlavors()
handler_basegetDataFlavors in class handler_basepublic Object getContent(jakarta.activation.DataSource ds) throws IOException
IOExceptionpublic void writeTo(Object obj, String mimeType, OutputStream os) throws IOException
IOExceptionCopyright © 2017–2020 Oracle. All rights reserved.