Class GetSkyTeamSchedule
java.lang.Object
org.deltava.dao.file.DAO
org.deltava.dao.file.ScheduleLoadDAO
org.deltava.dao.file.GetSkyTeamSchedule
A Data Access Object to import the SkyTeam schedule.
- Since:
- 9.0
- Version:
- 11.1
- Author:
- Luke
-
Nested Class Summary
Nested classes/interfaces inherited from class ScheduleLoadDAO
ScheduleLoadDAO.FlightDataModifier and TypeClassDescriptionprotected static classA utility class to store flight data components. -
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class ScheduleLoadDAO
getEquipmentType, getStatus, setAircraft, setAirlinesModifier and TypeMethodDescriptionprotected StringgetEquipmentType(String iataCode) Maps an IATA equipment code to an aircraft type.Returns the schedule import results.voidsetAircraft(Collection<Aircraft> acInfo) Initializes the IATA/ICAO aircraft code mappings.voidsetAirlines(Collection<Airline> airlines) Initializes the list of airlines.Methods inherited from class DAO
getReader, getStream, setBufferSizeModifier and TypeMethodDescriptionprotected LineNumberReaderReturns a reader suitable for text reads on the HTTP connection.protected InputStreamReturns the input stream used for input.voidsetBufferSize(int size) Sets the buffer size for the connection.
-
Constructor Details
-
GetSkyTeamSchedule
Initializes the Data Access Object.- Parameters:
is- the InputStream to read
-
-
Method Details
-
process
Description copied from class:ScheduleLoadDAOReturns back the loaded Flight Schedule entries.- Specified by:
processin classScheduleLoadDAO- Returns:
- a Collection of ScheduleEntry beans
- Throws:
DAOException- if a JDBC error occurs
-