Class BaseMailActivityDelegate.ContentItemDataSourceWrapper

java.lang.Object
org.flowable.mail.common.impl.BaseMailActivityDelegate.ContentItemDataSourceWrapper
All Implemented Interfaces:
jakarta.activation.DataSource
Enclosing class:
BaseMailActivityDelegate<V extends VariableContainer>

public static class BaseMailActivityDelegate.ContentItemDataSourceWrapper extends Object implements jakarta.activation.DataSource
  • Field Details

  • Constructor Details

    • ContentItemDataSourceWrapper

      public ContentItemDataSourceWrapper(ContentItem contentItem, ContentService contentService)
  • Method Details

    • getInputStream

      public InputStream getInputStream() throws IOException
      Specified by:
      getInputStream in interface jakarta.activation.DataSource
      Throws:
      IOException
    • getOutputStream

      public OutputStream getOutputStream() throws IOException
      Specified by:
      getOutputStream in interface jakarta.activation.DataSource
      Throws:
      IOException
    • getContentType

      public String getContentType()
      Specified by:
      getContentType in interface jakarta.activation.DataSource
    • getName

      public String getName()
      Specified by:
      getName in interface jakarta.activation.DataSource