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:
- 10.3
- Author:
- Luke
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class LogbookExport
getAircraft, getPromotionCount, loadAircraft
-
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
-