Examples of NaPTANStop


Examples of org.onebusaway.uk.naptan.csv.NaPTANStop

    entitySchema.addPackageToScan("org.onebusaway.uk.naptan.csv");
    reader.setEntitySchemaFactory(entitySchema);
    reader.addEntityHandler(new EntityHandler() {
      @Override
      public void handleEntity(Object arg0) {
        NaPTANStop stop = (NaPTANStop) arg0;
        _stopsByAtcoId.put(stop.getAtcoCode(), stop);
      }
    });
    reader.readEntities(NaPTANStop.class);

    reader.close();
View Full Code Here

Examples of org.onebusaway.uk.naptan.csv.NaPTANStop

    for (String prefix : _pruneStopsWithPrefixes) {
      if (stopId.startsWith(prefix)) {
        return null;
      }
    }
    NaPTANStop naptanStop = _stopsByAtcoId.get(stopId);
    if (naptanStop != null) {
      return getNaptanStop(naptanStop);
    }
    LocationElement location = getLocationForId(stopId);
    if (location != null) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.