Class BlobDataSource

java.lang.Object
org.nuxeo.ecm.automation.core.mail.BlobDataSource
All Implemented Interfaces:
javax.activation.DataSource

@Deprecated(since="2023.4") public class BlobDataSource extends Object implements javax.activation.DataSource
Deprecated.
since 2023.4 Use BlobDataSource instead
Author:
Bogdan Stefanescu
  • Field Details

    • blob

      protected final Blob blob
      Deprecated.
  • Constructor Details

    • BlobDataSource

      public BlobDataSource(Blob blob)
      Deprecated.
  • Method Details

    • getContentType

      public String getContentType()
      Deprecated.
      Specified by:
      getContentType in interface javax.activation.DataSource
    • getInputStream

      public InputStream getInputStream() throws IOException
      Deprecated.
      Specified by:
      getInputStream in interface javax.activation.DataSource
      Throws:
      IOException
    • getName

      public String getName()
      Deprecated.
      Specified by:
      getName in interface javax.activation.DataSource
    • getOutputStream

      public OutputStream getOutputStream() throws IOException
      Deprecated.
      Specified by:
      getOutputStream in interface javax.activation.DataSource
      Throws:
      IOException