How do I use GraphHopperOSM to read in an OSM file?

So far, I’ve come up with

	GraphHopperOSM graphHopperOSM = new GraphHopperOSM().setOSMFile(osmFile);

but I’m not sure it’s enough.

If it is enough, which class should I look into for actually doing stuff with this OSM file?

Thanks,

-bpp

You can have a look into the tests like GraphHopperIT:

  hopper = new GraphHopperOSM().
                setOSMFile(osmFile).
                setGraphHopperLocation(location).
                setEncodingManager(new EncodingManager(importVehicles)).
                importOrLoad();