Package fr.gouv.vitam.common.model
Class JsonLineIterator<T>
java.lang.Object
fr.gouv.vitam.common.model.JsonLineIterator<T>
- All Implemented Interfaces:
CloseableIterator<T>
,VitamAutoCloseable
,AutoCloseable
,Iterator<T>
-
Method Details
-
parseFromResponse
public static <T> JsonLineIterator<T> parseFromResponse(javax.ws.rs.core.Response response, Class<T> clasz) -
hasNext
public boolean hasNext() -
next
-
skip
public void skip() -
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceVitamAutoCloseable
-
stream
-