org.deltava.dao.file
Class GetSchedule

java.lang.Object
  extended by org.deltava.dao.file.DAO
      extended by org.deltava.dao.file.ScheduleLoadDAO
          extended by org.deltava.dao.file.GetSchedule

public class GetSchedule
extends ScheduleLoadDAO

A Data Access Object to load an exported Flight Schedule.

Since:
1.0
Version:
2.3
Author:
Luke

Field Summary
 
Fields inherited from class org.deltava.dao.file.ScheduleLoadDAO
_airlines, _errors, _invalidAL, _invalidAP, _invalidEQ, _partners, _unsvcAirports
 
Constructor Summary
GetSchedule(InputStream is)
          Initializes the Data Access Object.
 
Method Summary
 Collection<ScheduleEntry> process()
          Loads the Schedule Entries.
 
Methods inherited from class org.deltava.dao.file.ScheduleLoadDAO
getEquipmentType, getErrorMessages, getInvalidAirlines, getInvalidAirports, getInvalidEQ, getUnservedAirports, setAircraft, setAirlines, setPartners, updateCodeshares, validateAirports
 
Methods inherited from class org.deltava.dao.file.DAO
getReader, getStream, setBufferSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetSchedule

public GetSchedule(InputStream is)
Initializes the Data Access Object.

Parameters:
is - the input stream to read
Method Detail

process

public Collection<ScheduleEntry> 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


Copyright © 2004-2009 Global Virtual Airlines Group. All Rights Reserved.