Package org.apache.abdera.i18n.text.io
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 java.lang.Object implements javax.activation.DataSource
Deprecated.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
DEFAULT_TYPE
Deprecated.
-
Constructor Summary
Constructors Constructor Description InputStreamDataSource(java.io.InputStream in)
Deprecated.InputStreamDataSource(java.io.InputStream in, java.lang.String ctype)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.String
getContentType()
Deprecated.java.io.InputStream
getInputStream()
Deprecated.java.lang.String
getName()
Deprecated.java.io.OutputStream
getOutputStream()
Deprecated.
-
-
-
Field Detail
-
DEFAULT_TYPE
public static final java.lang.String DEFAULT_TYPE
Deprecated.- See Also:
- Constant Field Values
-
-
Method Detail
-
getContentType
public java.lang.String getContentType()
Deprecated.- Specified by:
getContentType
in interfacejavax.activation.DataSource
-
getName
public java.lang.String getName()
Deprecated.- Specified by:
getName
in interfacejavax.activation.DataSource
-
getInputStream
public java.io.InputStream getInputStream() throws java.io.IOException
Deprecated.- Specified by:
getInputStream
in interfacejavax.activation.DataSource
- Throws:
java.io.IOException
-
getOutputStream
public java.io.OutputStream getOutputStream() throws java.io.IOException
Deprecated.- Specified by:
getOutputStream
in interfacejavax.activation.DataSource
- Throws:
java.io.IOException
-
-