Class ACARSGenerator
java.lang.Object
org.deltava.util.flightplan.FlightPlanGenerator
org.deltava.util.flightplan.MSFSGenerator
org.deltava.util.flightplan.ACARSGenerator
A flight plan generator for ACARS dispatch sheets.
- Since:
- 10.0
- Version:
- 11.0
- Author:
- Luke
-
Field Summary
Fields inherited from class org.deltava.util.flightplan.MSFSGenerator
_gateD
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongenerate
(Collection<NavigationDataBean> waypoints) Generates a flight plan between two airports.final String
Returns the file extension of flight plans generated by this Generator.final String
Returns the MIME type of flight plans generated by this Generator.void
Updates the Aircraft used.void
Updates the destination alternate airport.void
Updates the arrival Gate.void
Sets the departure Gate.void
setPassengerCount
(int pax) Updates the passenger count.void
setRunwayD
(Runway r) Updates the departure Runway.void
Updates the simulator used.Methods inherited from class org.deltava.util.flightplan.FlightPlanGenerator
create, getEncoding, setAirline, setAirports, setCruiseAltitude, setNavCycle, setRoute, setSID, setSTAR
-
Constructor Details
-
ACARSGenerator
public ACARSGenerator()
-
-
Method Details
-
setPassengerCount
public void setPassengerCount(int pax) Updates the passenger count.- Parameters:
pax
- the number of passengers
-
setAircraft
-
setAirportL
Updates the destination alternate airport.- Parameters:
a
- the Airport
-
setSimulator
-
generate
Description copied from class:FlightPlanGenerator
Generates a flight plan between two airports.- Specified by:
generate
in classFlightPlanGenerator
- Parameters:
waypoints
- a Collection of waypoints- Returns:
- the generated flight plan file
-
getExtension
Description copied from class:FlightPlanGenerator
Returns the file extension of flight plans generated by this Generator.- Overrides:
getExtension
in classFlightPlanGenerator
- Returns:
- the file extension
-
getMimeType
Description copied from class:FlightPlanGenerator
Returns the MIME type of flight plans generated by this Generator.- Overrides:
getMimeType
in classFlightPlanGenerator
- Returns:
- the MIME type
-