Package com.sun.xml.messaging.saaj.soap
Class MultipartDataContentHandler
java.lang.Object
com.sun.xml.messaging.saaj.soap.MultipartDataContentHandler
- All Implemented Interfaces:
DataContentHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetContent(DataSource ds) Return the content.Return the Transfer Data of type DataFlavor from InputStream.Return the DataFlavors for thisDataContentHandler.voidwriteTo(Object obj, String mimeType, OutputStream os) Write the object to the output stream, using the specific MIME type.
-
Constructor Details
-
MultipartDataContentHandler
public MultipartDataContentHandler()
-
-
Method Details
-
getTransferDataFlavors
Return the DataFlavors for thisDataContentHandler.- Specified by:
getTransferDataFlavorsin interfaceDataContentHandler- Returns:
- The DataFlavors
-
getTransferData
Return the Transfer Data of type DataFlavor from InputStream.- Specified by:
getTransferDatain interfaceDataContentHandler- Parameters:
df- The DataFlavords- The DataSource- Returns:
- String object
-
getContent
Return the content.- Specified by:
getContentin interfaceDataContentHandler- Parameters:
ds- The DataSource- Returns:
- content
-
writeTo
Write the object to the output stream, using the specific MIME type.- Specified by:
writeToin interfaceDataContentHandler- Throws:
IOException
-