Package org.apache.ofbiz.common.email
Class EmailServices.StringDataSource
java.lang.Object
org.apache.ofbiz.common.email.EmailServices.StringDataSource
- All Implemented Interfaces:
javax.activation.DataSource
- Enclosing class:
- EmailServices
public static class EmailServices.StringDataSource
extends Object
implements javax.activation.DataSource
class to create a file in memory required for sending as an attachment
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
StringDataSource
- Throws:
IOException
-
-
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
-