MCPcopy Create free account
hub / github.com/akeranen/the-one / addPaths

Method addPaths

input/WKTMapReader.java:80–82  ·  view source on GitHub ↗

Adds paths to the map and adds given type to all nodes' type. @param file The file where the WKT data is read from @param type The type to use (integer value, see class MapNode)) @throws IOException If something went wrong while reading the file

(File file, int type)

Source from the content-addressed store, hash-verified

78 * @throws IOException If something went wrong while reading the file
79 */
80 public void addPaths(File file, int type) throws IOException {
81 addPaths(new FileReader(file), type);
82 }
83
84
85 /**

Callers 5

readMapMethod · 0.95
testMultipleMapFilesMethod · 0.95
setUpWithMethod · 0.95
setupMapDataMethod · 0.95
setUpWithMethod · 0.80

Calls 7

updateMapMethod · 0.95
nextTypeMethod · 0.80
readNestedContentsMethod · 0.80
parseLineStringMethod · 0.80
parseMultilinestringMethod · 0.80
initMethod · 0.45
equalsMethod · 0.45

Tested by 4

testMultipleMapFilesMethod · 0.76
setUpWithMethod · 0.76
setupMapDataMethod · 0.76
setUpWithMethod · 0.64