public static <T extends GenericMutableDao> void readGtfs( T entityStore, File resourcePath, String defaultAgencyId) throws IOException { GtfsReader reader = new GtfsReader(); reader.setDefaultAgencyId(defaultAgencyId); reader.setInputLocation(resourcePath); reader.setEntityStore(entityStore); reader.run(); }
public void addGtfsReaderFromInputLocation(File inputLocation) throws IOException { GtfsReader reader = new GtfsReader(); reader.setInputLocation(inputLocation); addGtfsReader(reader); }