Package com.graphhopper.reader.osm.pbf
Class PbfStreamSplitter
java.lang.Object
com.graphhopper.reader.osm.pbf.PbfStreamSplitter
- All Implemented Interfaces:
Iterator<PbfRawBlob>
Parses a PBF data stream and extracts the raw data of each blob in sequence until the end of the
stream is reached.
- Author:
- Brett Henderson
-
Constructor Details
-
PbfStreamSplitter
Creates a new instance.- Parameters:
pbfStream
- The PBF data stream to be parsed.
-
-
Method Details
-
hasNext
public boolean hasNext()- Specified by:
hasNext
in interfaceIterator<PbfRawBlob>
-
next
- Specified by:
next
in interfaceIterator<PbfRawBlob>
-
remove
public void remove()- Specified by:
remove
in interfaceIterator<PbfRawBlob>
-
release
public void release()
-