Class JsonLineGenericIterator<T>
java.lang.Object
fr.gouv.vitam.worker.core.distribution.JsonLineGenericIterator<T>
- All Implemented Interfaces:
CloseableIterator<T>
,VitamAutoCloseable
,AutoCloseable
,Iterator<T>
-
Constructor Summary
ConstructorsConstructorDescriptionJsonLineGenericIterator
(InputStream inputStream, com.fasterxml.jackson.core.type.TypeReference<T> typeReference) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining, remove
-
Constructor Details
-
JsonLineGenericIterator
public JsonLineGenericIterator(InputStream inputStream, com.fasterxml.jackson.core.type.TypeReference<T> typeReference)
-
-
Method Details
-
hasNext
public boolean hasNext() -
next
-
skip
public void skip() -
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceVitamAutoCloseable
-
stream
-