Class InputStreamDataSource
java.lang.Object
org.nuxeo.ecm.automation.jaxrs.io.InputStreamDataSource
- All Implemented Interfaces:
javax.activation.DataSource
- Author:
- Bogdan Stefanescu
-
Field Summary
-
Constructor Summary
ConstructorDescriptionInputStreamDataSource
(InputStream in, String ctype) InputStreamDataSource
(InputStream in, String ctype, String name) -
Method Summary
-
Field Details
-
in
-
ctype
-
name
-
-
Constructor Details
-
InputStreamDataSource
-
InputStreamDataSource
-
-
Method Details
-
getOutputStream
- Specified by:
getOutputStream
in interfacejavax.activation.DataSource
- Throws:
IOException
-
getName
- Specified by:
getName
in interfacejavax.activation.DataSource
-
getInputStream
- Specified by:
getInputStream
in interfacejavax.activation.DataSource
- Throws:
IOException
-
getContentType
- Specified by:
getContentType
in interfacejavax.activation.DataSource
-