Class GetSimVector


public class GetSimVector extends ScheduleLoadDAO
A Data Access Object to read SimVector JSON sechedule data.
Since:
12.0
Version:
12.0
Author:
Luke
  • Constructor Details

    • GetSimVector

      public GetSimVector(InputStream is)
      Creates the Data Access Object.
      Parameters:
      is - the InputStream to read
  • Method Details

    • setBaseLine

      public void setBaseLine(int lineNumber)
      Sets the base line number for this file. Since this is a JSON feed. the line reported will be the offset in the source JSON array.
      Parameters:
      lineNumber - the line number the base line number
    • process

      public Collection<RawScheduleEntry> process() throws DAOException
      Description copied from class: ScheduleLoadDAO
      Returns back the loaded Flight Schedule entries.
      Specified by:
      process in class ScheduleLoadDAO
      Returns:
      a Collection of ScheduleEntry beans
      Throws:
      DAOException - if a JDBC error occurs