T
- the type of the object that is read by this InputConverterpublic abstract class InputStreamInputConverter<T> extends java.lang.Object implements InputConverter<T>
InputStream
. This class can be extended by an implementation of InputConverter that makes use of an
InputStream as its input source. The data that is being read from the InputStream can be used to convert it into an
actual object.Constructor and Description |
---|
InputStreamInputConverter() |
Modifier and Type | Method and Description |
---|---|
java.io.InputStream |
getInputStream()
Returns the InputStream where this InputConverter will read its data from.
|
void |
setInputStream(java.io.InputStream inputStream)
Sets the InputStream to be used as the input source for this InputConverter.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
read
public java.io.InputStream getInputStream()
public void setInputStream(java.io.InputStream inputStream)
inputStream
- The InputStream to use as the input source for this InputConverter.