Package org.onebusaway.gtfs.impl.calendar

Examples of org.onebusaway.gtfs.impl.calendar.CalendarServiceDataFactoryImpl


        service.setData(data);
        return service;
    }

    public static CalendarServiceData createCalendarServiceData(GtfsRelationalDao dao) {
        CalendarServiceDataFactoryImpl factory = new CalendarServiceDataFactoryImpl();
        factory.setGtfsDao(dao);
        CalendarServiceData data = factory.createData();
        return data;
    }
View Full Code Here


                hf.setFareServiceFactory(_fareServiceFactory);
                hf.setMaxStopToShapeSnapDistance(gtfsBundle.getMaxStopToShapeSnapDistance());

                loadBundle(gtfsBundle, graph, dao);

                CalendarServiceDataFactoryImpl csfactory = new CalendarServiceDataFactoryImpl();
                csfactory.setGtfsDao(dao);
                CalendarServiceData data = csfactory.createData();
                service.addData(data, dao);

                hf.setDefaultStreetToStopTime(gtfsBundle.getDefaultStreetToStopTime());
                hf.run(graph);
View Full Code Here

    _excludeFutureServiceDatesInDays = excludeFutureServiceDatesInDays;
  }

  public void run() {

    CalendarServiceDataFactoryImpl factory = new CalendarServiceDataFactoryImpl();
    factory.setGtfsDao(_dao);
    factory.setExcludeFutureServiceDatesInDays(_excludeFutureServiceDatesInDays);
    CalendarServiceData data = factory.createData();
    data.makeReadOnly();

    try {

      ObjectSerializationLibrary.writeObject(
View Full Code Here

TOP

Related Classes of org.onebusaway.gtfs.impl.calendar.CalendarServiceDataFactoryImpl

Copyright © 2018 www.massapicom. 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.