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, waitMethods 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:
closein interfaceAutoCloseable- Specified by:
closein interfaceVitamAutoCloseable
-
stream
-