Module com.gluonhq.connect
Package com.gluonhq.connect.converter
Class InputStreamIterableInputConverter<E>
- java.lang.Object
- 
- com.gluonhq.connect.converter.InputStreamIterableInputConverter<E>
 
- 
- Type Parameters:
- E- the type of the objects that are read by this IterableInputConverter
 - All Implemented Interfaces:
- IterableInputConverter<E>
 - Direct Known Subclasses:
- JsonIterableInputConverter
 
 public abstract class InputStreamIterableInputConverter<E> extends Object implements IterableInputConverter<E> An abstract helper class that defines an IterableInputConverter of which the input source is a standardInputStream. This class can be extended by an implementation of IterableInputConverter that makes use of an InputStream as its input source. The created Iterator can then iterate over the list of objects that are being converted from the data that is being read from the InputStream.
- 
- 
Constructor SummaryConstructors Constructor Description InputStreamIterableInputConverter()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description InputStreamgetInputStream()Returns the InputStream where this IterableInputConverter will read its data from.voidsetInputStream(InputStream inputStream)Sets the InputStream to be used as the input source for this IterableInputConverter.- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface com.gluonhq.connect.converter.IterableInputConverteriterator
 
- 
 
- 
- 
- 
Method Detail- 
getInputStreampublic InputStream getInputStream() Returns the InputStream where this IterableInputConverter will read its data from.- Returns:
- The InputStream to use as the input source for this IterableInputConverter.
 
 - 
setInputStreampublic void setInputStream(InputStream inputStream) Sets the InputStream to be used as the input source for this IterableInputConverter.- Parameters:
- inputStream- The InputStream to use as the input source for this IterableInputConverter.
 
 
- 
 
-