T
- the type of the object that is written by this OutputConverterpublic abstract class OutputStreamOutputConverter<T> extends java.lang.Object implements OutputConverter<T>
OutputStream
. This class can be extended by an implementation of OutputConverter that makes use of an
OutputStream as its output source. The object can then be converted into data that is written directly into the
OutputStream.Constructor and Description |
---|
OutputStreamOutputConverter() |
Modifier and Type | Method and Description |
---|---|
java.io.OutputStream |
getOutputStream()
Returns the OutputStream where this OutputConverter will write the converted object to.
|
void |
setOutputStream(java.io.OutputStream outputStream)
Sets the OutputStream to be used as the output source for this OutputConverter.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
write
public java.io.OutputStream getOutputStream()
public void setOutputStream(java.io.OutputStream outputStream)
outputStream
- The OutputStream to use as the output source for this OutputConverter.