store

fun store(crashData: CrashReportData, file: File)

Stores the mappings in this Properties to the specified OutputStream, putting the specified comment at the beginning. The output from this method is suitable for being read by the load() method.

Parameters

crashData

CrashReportData to save.

file

File into which to store the CrashReportData.

Throws

if the CrashReportData could not be written to the OutputStream.

if the crashData could not be converted to JSON.