-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from naviqore/feature/gtfs-schedule-parser
- Loading branch information
Showing
27 changed files
with
586 additions
and
242 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,4 +35,7 @@ build/ | |
.vscode/ | ||
|
||
### Mac OS ### | ||
.DS_Store | ||
.DS_Store | ||
|
||
# Benchmark test files | ||
benchmark/input/*.zip |
25 changes: 25 additions & 0 deletions
25
src/main/java/ch/naviqore/gtfs/schedule/GtfsScheduleFile.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
package ch.naviqore.gtfs.schedule; | ||
|
||
import lombok.Getter; | ||
import lombok.RequiredArgsConstructor; | ||
|
||
/** | ||
* Standard GTFS schedule file types and their corresponding file names. | ||
*/ | ||
@RequiredArgsConstructor | ||
@Getter | ||
public enum GtfsScheduleFile { | ||
AGENCY("agency.txt"), | ||
CALENDAR("calendar.txt"), | ||
CALENDAR_DATES("calendar_dates.txt"), | ||
FARE_ATTRIBUTES("fare_attributes.txt"), | ||
FARE_RULES("fare_rules.txt"), | ||
FREQUENCIES("frequencies.txt"), | ||
STOPS("stops.txt"), | ||
ROUTES("routes.txt"), | ||
SHAPES("shapes.txt"), | ||
TRIPS("trips.txt"), | ||
STOP_TIMES("stop_times.txt"); | ||
|
||
private final String fileName; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.