com.github.skjolber.dc.gtfs.mt.TripHandler Maven / Gradle / Ivy
package com.github.skjolber.dc.gtfs.mt;
import java.util.ArrayList;
import java.util.List;
import com.github.skjolber.dc.model.Trip;
import com.github.skjolber.unzip.csv.CsvLineHandler;
public class TripHandler implements CsvLineHandler {
private List trips = new ArrayList<>(1024);
@Override
public void handleLine(Trip trip) {
trips.add(trip);
}
public List getTrips() {
return trips;
}
}