Class InputStreamDataSource

  • All Implemented Interfaces:
    javax.activation.DataSource

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

      • DEFAULT_TYPE

        public static final java.lang.String DEFAULT_TYPE
        Deprecated.
        See Also:
        Constant Field Values
    • Constructor Detail

      • InputStreamDataSource

        public InputStreamDataSource​(java.io.InputStream in)
        Deprecated.
      • InputStreamDataSource

        public InputStreamDataSource​(java.io.InputStream in,
                                     java.lang.String ctype)
        Deprecated.
    • Method Detail

      • getContentType

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

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

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

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