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 org.deltava.service.logbook.LogbookExport
getAircraft, getPromotionCount, loadAircraft
-
Constructor Details
-
JSONExport
public JSONExport()
-
-
Method Details
-
getContentType
Description copied from class:LogbookExport
Returns the content type of the output.- Specified by:
getContentType
in classLogbookExport
- Returns:
- the MIME type
-
getExtension
Description copied from class:LogbookExport
Returns the default file extension of the output.- Specified by:
getExtension
in classLogbookExport
- Returns:
- the file extension
-
toString
-
add
Description copied from class:LogbookExport
Adds and processes a Flight Report.- Specified by:
add
in classLogbookExport
- Parameters:
fr
- a FlightReport bean
-