Package | Description |
---|---|
org.transitime.db.structs |
Contains the descriptions of the classes for the objects that are read
and written to the database.
|
org.transitime.gtfs |
Contains classes for reading and writing GTFS configuration data.
|
org.transitime.gtfs.gtfsStructs |
Contains the classes the correspond directly to the GTFS data.
|
org.transitime.gtfs.readers |
For reading in a GTFS file in CSV format.
|
org.transitime.gtfs.writers |
For writing GTFS configuration data in CSV format to files.
|
Constructor and Description |
---|
Trip(int configRev,
GtfsTrip gtfsTrip,
java.lang.String properRouteId,
java.lang.String routeShortName,
TitleFormatter titleFormatter)
Constructs Trip object from GTFS data.
|
Modifier and Type | Method and Description |
---|---|
GtfsTrip |
GtfsData.getGtfsTrip(java.lang.String tripId) |
Constructor and Description |
---|
GtfsTrip(GtfsTrip originalTrip,
GtfsTrip supplementTrip)
When combining a regular trip with a supplemental trip need to create a
whole new object since this class is Immutable to make it safer to use.
|
Modifier and Type | Method and Description |
---|---|
GtfsTrip |
GtfsTripsSupplementReader.handleRecord(org.apache.commons.csv.CSVRecord record,
boolean supplemental) |
GtfsTrip |
GtfsTripsReader.handleRecord(org.apache.commons.csv.CSVRecord record,
boolean supplemental) |
Modifier and Type | Method and Description |
---|---|
void |
GtfsTripsWriter.write(GtfsTrip gtfsTrip)
Writes a GtfsTrip to the file
|