org.nuxeo.ecm.automation.core.mail
Class BlobDataSource
java.lang.Object
org.nuxeo.ecm.automation.core.mail.BlobDataSource
- All Implemented Interfaces:
- DataSource
public class BlobDataSource
- extends Object
- implements DataSource
- Author:
- Bogdan Stefanescu
BlobDataSource
public BlobDataSource(Blob blob)
getContentType
public String getContentType()
- Specified by:
getContentType
in interface DataSource
getInputStream
public InputStream getInputStream()
throws IOException
- Specified by:
getInputStream
in interface DataSource
- Throws:
IOException
getName
public String getName()
- Specified by:
getName
in interface DataSource
getOutputStream
public OutputStream getOutputStream()
throws IOException
- Specified by:
getOutputStream
in interface DataSource
- Throws:
IOException
Copyright © 2011 Nuxeo SAS. All Rights Reserved.