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