Module org.apache.openmeetings.util
Class ByteArrayDataSource
java.lang.Object
org.apache.openmeetings.util.mail.ByteArrayDataSource
- All Implemented Interfaces:
jakarta.activation.DataSource
-
Constructor Summary
ConstructorDescriptionByteArrayDataSource
(byte[] data, String type) ByteArrayDataSource
(InputStream is, String type) ByteArrayDataSource
(String data, String type) -
Method Summary
-
Constructor Details
-
ByteArrayDataSource
-
ByteArrayDataSource
-
ByteArrayDataSource
-
-
Method Details
-
getInputStream
- Specified by:
getInputStream
in interfacejakarta.activation.DataSource
- Throws:
IOException
-
getOutputStream
- Specified by:
getOutputStream
in interfacejakarta.activation.DataSource
- Throws:
IOException
-
getContentType
- Specified by:
getContentType
in interfacejakarta.activation.DataSource
-
getName
- Specified by:
getName
in interfacejakarta.activation.DataSource
-