|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openstreetmap.osmosis.core.store.ObjectDataInputIterator<T>
org.openstreetmap.osmosis.core.store.ObjectStreamIterator<T>
T
- The type of data to be returned by the iterator.public class ObjectStreamIterator<T>
This class reads objects from an ObjectInputStream until the end of stream is reached.
Constructor Summary | |
---|---|
ObjectStreamIterator(java.io.DataInputStream inStream,
ObjectReader objectReader)
Creates a new instance. |
Method Summary | |
---|---|
void |
release()
Performs resource cleanup tasks such as closing files, or database connections. |
Methods inherited from class org.openstreetmap.osmosis.core.store.ObjectDataInputIterator |
---|
hasNext, next, remove |
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 |
---|
hasNext, next, remove |
Constructor Detail |
---|
public ObjectStreamIterator(java.io.DataInputStream inStream, ObjectReader objectReader)
inStream
- The stream to read objects from.objectReader
- The reader containing the objects to be deserialized.Method Detail |
---|
public void release()
release
in interface Releasable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |