Package com.sun.xml.ws.util
Class ByteArrayDataSource
java.lang.Object
com.sun.xml.ws.util.ByteArrayDataSource
- All Implemented Interfaces:
jakarta.activation.DataSource
DataSource backed by a byte buffer.- Author:
- Kohsuke Kawaguchi
-
Constructor Summary
ConstructorsConstructorDescriptionByteArrayDataSource(byte[] buf, int start, int length, String contentType) ByteArrayDataSource(byte[] buf, int length, String contentType) ByteArrayDataSource(byte[] buf, String contentType) -
Method Summary
-
Constructor Details
-
ByteArrayDataSource
-
ByteArrayDataSource
-
ByteArrayDataSource
-
-
Method Details
-
getContentType
- Specified by:
getContentTypein interfacejakarta.activation.DataSource
-
getInputStream
- Specified by:
getInputStreamin interfacejakarta.activation.DataSource
-
getName
- Specified by:
getNamein interfacejakarta.activation.DataSource
-
getOutputStream
- Specified by:
getOutputStreamin interfacejakarta.activation.DataSource
-