public class BasicOutputDataSource extends java.lang.Object implements OutputDataSource
OutputDataSource
that takes any genericOutputStream
as its
source.Constructor and Description |
---|
BasicOutputDataSource(java.io.OutputStream outputStream)
Construct a BasicOutputDataSource that uses the given
outputStream as its source. |
Modifier and Type | Method and Description |
---|---|
java.io.OutputStream |
getOutputStream()
Returns the OutputStream that will be used as the source to write data to.
|
public BasicOutputDataSource(java.io.OutputStream outputStream)
outputStream
as its source.outputStream
- the output stream to use as the source for this output data sourcepublic java.io.OutputStream getOutputStream()
OutputDataSource
getOutputStream
in interface OutputDataSource