Class GetSimVector
java.lang.Object
org.deltava.dao.file.DAO
org.deltava.dao.file.ScheduleLoadDAO
org.deltava.dao.file.GetSimVector
A Data Access Object to read SimVector JSON sechedule data.
- Since:
- 12.0
- Version:
- 12.0
- 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprocess()
Returns back the loaded Flight Schedule entries.void
setBaseLine
(int lineNumber) Sets the base line number for this file.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
-
GetSimVector
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
Description copied from class:ScheduleLoadDAO
Returns back the loaded Flight Schedule entries.- Specified by:
process
in classScheduleLoadDAO
- Returns:
- a Collection of ScheduleEntry beans
- Throws:
DAOException
- if a JDBC error occurs
-