Class PbfStreamSplitter

java.lang.Object
com.graphhopper.reader.osm.pbf.PbfStreamSplitter
All Implemented Interfaces:
Iterator<PbfRawBlob>

public class PbfStreamSplitter extends Object implements 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

      public PbfStreamSplitter(DataInputStream pbfStream)
      Creates a new instance.

      Parameters:
      pbfStream - The PBF data stream to be parsed.
  • Method Details