public class InputStreamDataSource extends Object implements DataSource
| Constructor and Description |
|---|
InputStreamDataSource(String name,
String contentType,
InputStream inputStream) |
| Modifier and Type | Method and Description |
|---|---|
String |
getContentType() |
InputStream |
getInputStream() |
String |
getName() |
OutputStream |
getOutputStream() |
public InputStreamDataSource(String name, String contentType, InputStream inputStream)
public String getName()
getName in interface DataSourcepublic String getContentType()
getContentType in interface DataSourcepublic InputStream getInputStream() throws IOException
getInputStream in interface DataSourceIOExceptionpublic OutputStream getOutputStream() throws IOException
getOutputStream in interface DataSourceIOExceptionCopyright © 2003–2015 Atlassian. All rights reserved.