Class JSONExport
java.lang.Object
org.deltava.service.logbook.LogbookExport
org.deltava.service.logbook.JSONExport
A log book export class to generate JSON-formatted log books.
- Since:
- 10.3
- Version:
- 12.4
- Author:
- Luke
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class LogbookExport
getAircraft, getPromotionCount, loadAircraftModifier and TypeMethodDescriptionprotected AircraftgetAircraft(String acType) Loads an Aircraft profile.protected intReturns the leg index for a leg that counts for promotion to Captain in an equipment program.voidloadAircraft(Collection<Aircraft> acTypes) Loads Aircraft profiles for translation.
-
Constructor Details
-
JSONExport
public JSONExport()
-
-
Method Details
-
getContentType
Description copied from class:LogbookExportReturns the content type of the output.- Specified by:
getContentTypein classLogbookExport- Returns:
- the MIME type
-
getExtension
Description copied from class:LogbookExportReturns the default file extension of the output.- Specified by:
getExtensionin classLogbookExport- Returns:
- the file extension
-
toString
-
add
Description copied from class:LogbookExportAdds and processes a Flight Report.- Specified by:
addin classLogbookExport- Parameters:
fr- a FlightReport bean
-