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 MSFSGenerator
_gateD -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongenerate(Collection<NavigationDataBean> waypoints) Generates a flight plan between two airports.final StringReturns the file extension of flight plans generated by this Generator.final StringReturns the MIME type of flight plans generated by this Generator.voidUpdates the Aircraft used.voidUpdates the destination alternate airport.voidUpdates the arrival Gate.voidSets the departure Gate.voidsetPassengerCount(int pax) Updates the passenger count.voidsetRunwayD(Runway r) Updates the departure Runway.voidUpdates the simulator used.Methods inherited from class 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:FlightPlanGeneratorGenerates a flight plan between two airports.- Specified by:
generatein classFlightPlanGenerator- Parameters:
waypoints- a Collection of waypoints- Returns:
- the generated flight plan file
-
getExtension
Description copied from class:FlightPlanGeneratorReturns the file extension of flight plans generated by this Generator.- Overrides:
getExtensionin classFlightPlanGenerator- Returns:
- the file extension
-
getMimeType
Description copied from class:FlightPlanGeneratorReturns the MIME type of flight plans generated by this Generator.- Overrides:
getMimeTypein classFlightPlanGenerator- Returns:
- the MIME type
-