Class GetSchedule
java.lang.Object
org.deltava.dao.file.DAO
org.deltava.dao.file.ScheduleLoadDAO
org.deltava.dao.file.GetSchedule
A Data Access Object to load an exported Flight Schedule.
- Since:
- 1.0
- Version:
- 11.5
- Author:
- Luke
-
Nested Class Summary
Nested classes/interfaces inherited from class org.deltava.dao.file.ScheduleLoadDAO
ScheduleLoadDAO.FlightData
-
Field Summary
Fields inherited from class org.deltava.dao.file.ScheduleLoadDAO
_airlines, _status, GROUND_EQ
-
Constructor Summary
ConstructorsConstructorDescriptionGetSchedule
(ScheduleSource src, InputStream is, boolean isUTC) Initializes the Data Access Object. -
Method Summary
Modifier and TypeMethodDescriptionprocess()
Loads the Schedule Entries.void
setMaxLine
(ScheduleSource src, int maxLine) Updates the maximum line number for a Schedule source.Methods inherited from class org.deltava.dao.file.ScheduleLoadDAO
getEquipmentType, getStatus, setAircraft, setAirlines
Methods inherited from class org.deltava.dao.file.DAO
getReader, getStream, setBufferSize
-
Constructor Details
-
GetSchedule
Initializes the Data Access Object.- Parameters:
src
- the ScheduleSourceis
- the input stream to readisUTC
- TRUE if departure/arrival times are UTC, otherwise FALSE
-
-
Method Details
-
setMaxLine
Updates the maximum line number for a Schedule source.- Parameters:
src
- a ScheduleSourcemaxLine
- the maximum line number
-
process
Loads the Schedule Entries.- Specified by:
process
in classScheduleLoadDAO
- Returns:
- a Collection of ScheduleEntry beans
- Throws:
DAOException
- if an I/O error occurs
-