read

public abstract LocationService<Double, MoonLightRecord> read(RecordHandler handler, File input)

Reads a location service from a file.

Return

a location service

Parameters

handler

Record handeler used to read data on edges

input

input file

Throws

if I/O error occurs while reading the file

if the file is not well formatted


public abstract LocationService<Double, MoonLightRecord> read(RecordHandler handler, String input)

Reads a location service from a file.

Return

a location service

Parameters

handler

Record handeler used to read data on edges

input

input string

Throws

if the file is not well formatted