public class StreamingDataSource extends Object implements DataSource
InputStream for each call of method
getInputStream().| Constructor and Description |
|---|
StreamingDataSource(InputStream stream,
String contentType) |
| Modifier and Type | Method and Description |
|---|---|
String |
getContentType() |
InputStream |
getInputStream() |
String |
getName() |
OutputStream |
getOutputStream() |
public StreamingDataSource(InputStream stream, String contentType)
public String getContentType()
getContentType in interface DataSourcepublic InputStream getInputStream() throws IOException
getInputStream in interface DataSourceIOExceptionpublic String getName()
getName in interface DataSourcepublic OutputStream getOutputStream() throws IOException
getOutputStream in interface DataSourceIOExceptionCopyright © 2015. All rights reserved.