Class InputStreamDataSource
java.lang.Object
org.mule.soapkit.soap.server.support.InputStreamDataSource
- All Implemented Interfaces:
javax.activation.DataSource
DataSource wapper for an InputStream.-
Constructor Summary
ConstructorsConstructorDescriptionInputStreamDataSource(InputStream data, org.mule.runtime.api.metadata.MediaType contentType, String name) -
Method Summary
-
Constructor Details
-
InputStreamDataSource
public InputStreamDataSource(InputStream data, org.mule.runtime.api.metadata.MediaType contentType, String name)
-
-
Method Details
-
getContentType
- Specified by:
getContentTypein interfacejavax.activation.DataSource
-
getInputStream
- Specified by:
getInputStreamin interfacejavax.activation.DataSource- Throws:
IOException
-
getName
- Specified by:
getNamein interfacejavax.activation.DataSource
-
getOutputStream
- Specified by:
getOutputStreamin interfacejavax.activation.DataSource- Throws:
IOException
-