Class InputStreamDataSource

java.lang.Object
com.atlassian.confluence.core.InputStreamDataSource
All Implemented Interfaces:
javax.activation.DataSource

public class InputStreamDataSource extends Object implements javax.activation.DataSource
A datasource that provides access to an input stream of data.
  • Constructor Details

  • Method Details

    • getName

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

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

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

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