-
- All Known Subinterfaces:
IODataSource
- All Known Implementing Classes:
BasicInputDataSource
,FileDataSource
,RestDataSource
public interface InputDataSource
An InputDataSource is a class that returns an InputStream that acts as an input source to read data from. Some possible sources can be: a file, a REST URL, a Gluon CloudLink object, ...
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InputStream
getInputStream()
Returns an InputStream that will be used as the source to read data from.
-
-
-
Method Detail
-
getInputStream
InputStream getInputStream() throws IOException
Returns an InputStream that will be used as the source to read data from.- Returns:
- an InputStream that is used as the source to read data from
- Throws:
IOException
- when an exception occurred while getting the InputStream
-
-