Class InputStreamDataSource

java.lang.Object
org.apache.abdera.i18n.text.io.InputStreamDataSource
All Implemented Interfaces:
javax.activation.DataSource

@Deprecated(since="2021-07-29") public final class InputStreamDataSource extends Object implements javax.activation.DataSource
Deprecated.
  • Field Details

  • Constructor Details

    • InputStreamDataSource

      public InputStreamDataSource(InputStream in)
      Deprecated.
    • InputStreamDataSource

      public InputStreamDataSource(InputStream in, String ctype)
      Deprecated.
  • Method Details

    • getContentType

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

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

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

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