InputDataSourcepublic class BasicInputDataSource extends java.lang.Object implements InputDataSource
InputDataSource that takes any generic InputStream as its
source.| Constructor | Description |
|---|---|
BasicInputDataSource(java.io.InputStream inputStream) |
Construct a BasicInputDataSource that uses the given
inputStream as its source. |
| Modifier and Type | Method | Description |
|---|---|---|
java.io.InputStream |
getInputStream() |
Returns an InputStream that will be used as the source to read data from.
|
public BasicInputDataSource(java.io.InputStream inputStream)
inputStream as its source.inputStream - the input stream to use as the source for this input data sourcepublic java.io.InputStream getInputStream()
throws java.io.IOException
InputDataSourcegetInputStream in interface InputDataSourcejava.io.IOException - when an exception occurred while getting the InputStream