java.lang.Object
dev.katsute.onemta.DataResource
Represents a static data resource. Latest data can be retrieved from http://web.mta.info/developers/developer-data-terms.html#data.
- Since:
- 1.0.0
- Version:
- 1.2.1
- Author:
- Katsute
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic DataResource
create
(DataResourceType type, File file) Creates a data resource from a zip file.
-
Method Details
-
create
Creates a data resource from a zip file.
At the moment the zip file only needs to have:agency.txt
stops.txt
routes.txt
- Parameters:
type
- resource typefile
- google_transit zip file- Returns:
- data resource
- Since:
- 1.0.0
- See Also:
-