Class GtfsReadingSupport

    • Constructor Detail

      • GtfsReadingSupport

        public GtfsReadingSupport()
    • Method Detail

      • readGtfsIntoStore

        public static void readGtfsIntoStore​(org.springframework.context.ApplicationContext context,
                                             org.onebusaway.gtfs.services.GenericMutableDao store,
                                             org.onebusaway.csv_entities.schema.DefaultEntitySchemaFactory factory)
                                      throws IOException
        Read gtfs, as defined by GtfsBundles entries in the application context, into the specified data store. Gtfs will be read in quasi-paralle mode using GtfsMultiReaderImpl. Any EntityReplacementStrategy strategies defined in the application context will be applied as well.
        Parameters:
        context -
        store -
        factory -
        Throws:
        IOException
      • readGtfsIntoStore

        public static void readGtfsIntoStore​(org.springframework.context.ApplicationContext context,
                                             org.onebusaway.gtfs.services.GenericMutableDao store,
                                             org.onebusaway.csv_entities.schema.DefaultEntitySchemaFactory factory,
                                             boolean disableStopConsolidation)
                                      throws IOException
        Read gtfs, as defined by GtfsBundles entries in the application context, into the specified data store. Gtfs will be read in quasi-paralle mode using GtfsMultiReaderImpl. Any EntityReplacementStrategy strategies defined in the application context will be applied as well.
        Parameters:
        context -
        store -
        factory -
        disableStopConsolidation -
        Throws:
        IOException
      • getGtfsBundles

        public static GtfsBundles getGtfsBundles​(org.springframework.context.ApplicationContext context)
        Looks for instances of GtfsBundles or GtfsBundle in the application context.
        Parameters:
        context -
        Returns: