this is a good question, I think the shape reader is under documented. I will see if I can improve this.
Anyway regarding your question, have a look at the class GraphHopperSHP. You should be able to use this class instead of GraphHopperOSM and the ShapeFileReaderTest.
Let me know if this helps?