Package com.atlassian.confluence.core
Class InputStreamDataSource
java.lang.Object
com.atlassian.confluence.core.InputStreamDataSource
- All Implemented Interfaces:
javax.activation.DataSource
A datasource that provides access to an input stream of data.
-
Constructor Summary
ConstructorsConstructorDescriptionInputStreamDataSource
(String name, String contentType, InputStream inputStream) -
Method Summary
-
Constructor Details
-
InputStreamDataSource
-
-
Method Details
-
getName
- Specified by:
getName
in interfacejavax.activation.DataSource
-
getContentType
- Specified by:
getContentType
in interfacejavax.activation.DataSource
-
getInputStream
- Specified by:
getInputStream
in interfacejavax.activation.DataSource
- Throws:
IOException
-
getOutputStream
- Specified by:
getOutputStream
in interfacejavax.activation.DataSource
- Throws:
IOException
-