Package com.atlassian.confluence.core
Class InputStreamDataSource
- java.lang.Object
- 
- com.atlassian.confluence.core.InputStreamDataSource
 
- 
- All Implemented Interfaces:
- javax.activation.DataSource
 
 public class InputStreamDataSource extends Object implements javax.activation.DataSource A datasource that provides access to an input stream of data.
- 
- 
Constructor SummaryConstructors Constructor Description InputStreamDataSource(String name, String contentType, InputStream inputStream)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetContentType()InputStreamgetInputStream()StringgetName()OutputStreamgetOutputStream()
 
- 
- 
- 
Constructor Detail- 
InputStreamDataSourcepublic InputStreamDataSource(String name, String contentType, InputStream inputStream) 
 
- 
 - 
Method Detail- 
getNamepublic String getName() - Specified by:
- getNamein interface- javax.activation.DataSource
 
 - 
getContentTypepublic String getContentType() - Specified by:
- getContentTypein interface- javax.activation.DataSource
 
 - 
getInputStreampublic InputStream getInputStream() throws IOException - Specified by:
- getInputStreamin interface- javax.activation.DataSource
- Throws:
- IOException
 
 - 
getOutputStreampublic OutputStream getOutputStream() throws IOException - Specified by:
- getOutputStreamin interface- javax.activation.DataSource
- Throws:
- IOException
 
 
- 
 
-