com.partnersoft.v3x.io.formats
Class NamedObjectDumpIterator
java.lang.Object
com.partnersoft.v3x.io.formats.NamedObjectDumpIterator
- All Implemented Interfaces:
- java.util.Iterator
public class NamedObjectDumpIterator
- extends java.lang.Object
- implements java.util.Iterator
Allows iteration through a named object dump without high memory or i/o
overhead.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
size
public int size
currentIndex
public int currentIndex
currentName
public java.lang.String currentName
currentBytes
public ByteBuffer currentBytes
currentOffset
public long currentOffset
nextOffset
public long nextOffset
offsetsFile
public java.io.File offsetsFile
dataFile
public java.io.File dataFile
NamedObjectDumpIterator
public NamedObjectDumpIterator(java.io.File dumpFile)
throws java.io.IOException
- Throws:
java.io.IOException
remove
public void remove()
- Specified by:
remove in interface java.util.Iterator
hasNext
public boolean hasNext()
- Specified by:
hasNext in interface java.util.Iterator
next
public java.lang.Object next()
- Specified by:
next in interface java.util.Iterator
close
public void close()
throws java.io.IOException
- Throws:
java.io.IOException