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
ConstructorDescriptionByteArrayDataSource
(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:
getContentType
in interfacejakarta.activation.DataSource
-
getInputStream
- Specified by:
getInputStream
in interfacejakarta.activation.DataSource
-
getName
- Specified by:
getName
in interfacejakarta.activation.DataSource
-
getOutputStream
- Specified by:
getOutputStream
in interfacejakarta.activation.DataSource
-