Package com.graphhopper.reader.osm.pbf
Class PbfBlobDecoder
java.lang.Object
com.graphhopper.reader.osm.pbf.PbfBlobDecoder
- All Implemented Interfaces:
Runnable
Converts PBF block data into decoded entities ready to be passed into an Osmosis pipeline. This
class is designed to be passed into a pool of worker threads to allow multi-threaded decoding.
- Author:
- Brett Henderson
-
Constructor Summary
ConstructorsConstructorDescriptionPbfBlobDecoder
(String blobType, byte[] rawBlob, PbfBlobDecoderListener listener, SkipOptions skipOptions) Creates a new instance. -
Method Summary
-
Constructor Details
-
PbfBlobDecoder
public PbfBlobDecoder(String blobType, byte[] rawBlob, PbfBlobDecoderListener listener, SkipOptions skipOptions) Creates a new instance.- Parameters:
blobType
- The type of blob.rawBlob
- The raw data of the blob.listener
- The listener for receiving decoding results.
-
-
Method Details