Class StaticGtfsService

java.lang.Object
com.nnamo.services.StaticGtfsService

public class StaticGtfsService extends Object
Service to load and provide access to static GTFS data. It reads GTFS data from a zip file located in the resources folder and stores it in a GtfsRelationalDaoImpl for easy querying.
  • Use load() to load the GTFS data from the zip file.
  • Use getStore() to access the loaded GTFS data through the GtfsRelationalDaoImpl instance.
Author:
Samuele Lombardi
See Also:
  • GtfsRelationalDaoImpl
  • GtfsReader