コード例 #1
0
  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();
  }
コード例 #2
0
 public void addGtfsReaderFromInputLocation(File inputLocation) throws IOException {
   GtfsReader reader = new GtfsReader();
   reader.setInputLocation(inputLocation);
   addGtfsReader(reader);
 }