Package io.jmix.email.impl
Class EmailSenderImpl.MyByteArrayDataSource
java.lang.Object
io.jmix.email.impl.EmailSenderImpl.MyByteArrayDataSource
- All Implemented Interfaces:
javax.activation.DataSource
- Enclosing class:
- EmailSenderImpl
protected static class EmailSenderImpl.MyByteArrayDataSource
extends Object
implements javax.activation.DataSource
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
MyByteArrayDataSource
public MyByteArrayDataSource(byte[] data)
-
-
Method Details
-
getContentType
- Specified by:
getContentType
in interfacejavax.activation.DataSource
-
getInputStream
- Specified by:
getInputStream
in interfacejavax.activation.DataSource
- Throws:
IOException
-
getName
- Specified by:
getName
in interfacejavax.activation.DataSource
-
getOutputStream
- Specified by:
getOutputStream
in interfacejavax.activation.DataSource
- Throws:
IOException
-