Class GetSchedule


public class GetSchedule extends ScheduleLoadDAO
A Data Access Object to load an exported Flight Schedule.
Since:
1.0
Version:
11.5
Author:
Luke
  • Constructor Details

    • GetSchedule

      public GetSchedule(ScheduleSource src, InputStream is, boolean isUTC)
      Initializes the Data Access Object.
      Parameters:
      src - the ScheduleSource
      is - the input stream to read
      isUTC - TRUE if departure/arrival times are UTC, otherwise FALSE
  • Method Details

    • setMaxLine

      public void setMaxLine(ScheduleSource src, int maxLine)
      Updates the maximum line number for a Schedule source.
      Parameters:
      src - a ScheduleSource
      maxLine - the maximum line number
    • process

      public Collection<RawScheduleEntry> process() throws DAOException
      Loads the Schedule Entries.
      Specified by:
      process in class ScheduleLoadDAO
      Returns:
      a Collection of ScheduleEntry beans
      Throws:
      DAOException - if an I/O error occurs