Class GetFASchedule


public class GetFASchedule extends FlightAwareDAO
Loads airline schedule data from FlightAware.
Since:
8.0
Version:
11.1
Author:
Luke
  • Constructor Details

    • GetFASchedule

      public GetFASchedule()
  • Method Details

    • getUnknownAirports

      public Collection<String> getUnknownAirports()
      Returns any unknown Airport codes from the import.
      Returns:
      a Collection of Airport codes
    • getUnknownAirlines

      public Collection<String> getUnknownAirlines()
      Returns any unknown Airline codes from the import.
      Returns:
      a Collection of Airline codes
    • getSchedule

      public Collection<RawScheduleEntry> getSchedule(Airline a, int start, Instant startDate, int days, boolean includeCS) throws DAOException
      Loads flight schedule entries from FlightAware.
      Parameters:
      a - the Airline
      start - the result start offset
      startDate - the start date
      days - the number of days to search
      includeCS - TRUE to include codeshare flights, otherwise FALSE
      Returns:
      a Collection of RawScheduleEntry beans
      Throws:
      DAOException - if an error occurs