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