Package com.nnamo.services
Class StaticGtfsService
java.lang.Object
com.nnamo.services.StaticGtfsService
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 theGtfsRelationalDaoImpl
instance.
- Author:
- Samuele Lombardi
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
StaticGtfsService
public StaticGtfsService()
-
-
Method Details
-
load
- Throws:
IOException
URISyntaxException
-
getStore
public org.onebusaway.gtfs.impl.GtfsRelationalDaoImpl getStore()
-