DataContentHandler
public class multipart_mixed extends handler_base
Constructor | Description |
---|---|
multipart_mixed() |
Modifier and Type | Method | Description |
---|---|---|
Object |
getContent(DataSource ds) |
Return the content.
|
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 specific 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 mimeType, OutputStream os) throws IOException
IOException
Copyright © 2018 Oracle. All rights reserved.