Class ObjectEntryReader
- java.lang.Object
-
- fr.gouv.vitam.common.model.storage.ObjectEntryReader
-
- All Implemented Interfaces:
CloseableIterator<ObjectEntry>
,VitamAutoCloseable
,java.lang.AutoCloseable
,java.util.Iterator<ObjectEntry>
public class ObjectEntryReader extends java.lang.Object implements CloseableIterator<ObjectEntry>
-
-
Constructor Summary
Constructors Constructor Description ObjectEntryReader(java.io.InputStream inputStream)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
boolean
hasNext()
ObjectEntry
next()
-
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interfacejava.util.Iterator<ObjectEntry>
-
next
public ObjectEntry next()
- Specified by:
next
in interfacejava.util.Iterator<ObjectEntry>
-
close
public void close()
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfaceVitamAutoCloseable
-
-