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