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.DataSourceDeprecated.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringDEFAULT_TYPEDeprecated.
-
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.StringgetContentType()Deprecated.java.io.InputStreamgetInputStream()Deprecated.java.lang.StringgetName()Deprecated.java.io.OutputStreamgetOutputStream()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:
getContentTypein interfacejavax.activation.DataSource
-
getName
public java.lang.String getName()
Deprecated.- Specified by:
getNamein interfacejavax.activation.DataSource
-
getInputStream
public java.io.InputStream getInputStream() throws java.io.IOExceptionDeprecated.- Specified by:
getInputStreamin interfacejavax.activation.DataSource- Throws:
java.io.IOException
-
getOutputStream
public java.io.OutputStream getOutputStream() throws java.io.IOExceptionDeprecated.- Specified by:
getOutputStreamin interfacejavax.activation.DataSource- Throws:
java.io.IOException
-
-