-
public class BacktraceDatabaseRecord
-
-
Field Summary
Fields Modifier and Type Field Description public UUID
id
public transient boolean
locked
private String
recordPath
private String
diagnosticDataPath
private String
reportPath
private long
size
-
Constructor Summary
Constructors Constructor Description BacktraceDatabaseRecord(BacktraceData data, String path)
BacktraceDatabaseRecord(String id, String path, String recordPath, String diagnosticDataPath, String reportPath, long size)
-
Method Summary
Modifier and Type Method Description String
getRecordPath()
String
getDiagnosticDataPath()
String
getReportPath()
long
getSize()
static BacktraceDatabaseRecord
readFromFile(File file)
Read single record from file BacktraceData
getBacktraceData(Context context)
Get BacktraceData object related to db record BacktraceData
getBacktraceData()
Get valid BacktraceData from current record boolean
save()
Save data to internal app storage boolean
valid()
Check if all necessary files declared on record exists void
delete()
Delete all record files boolean
close()
-
-
Method Detail
-
getRecordPath
String getRecordPath()
-
getDiagnosticDataPath
String getDiagnosticDataPath()
-
getReportPath
String getReportPath()
-
getSize
long getSize()
-
readFromFile
static BacktraceDatabaseRecord readFromFile(File file)
Read single record from file
- Parameters:
file
- current file
-
getBacktraceData
@Deprecated() BacktraceData getBacktraceData(Context context)
Get BacktraceData object related to db record
- Parameters:
context
- The unused context parameter.
-
getBacktraceData
BacktraceData getBacktraceData()
Get valid BacktraceData from current record
-
save
boolean save()
Save data to internal app storage
-
valid
boolean valid()
Check if all necessary files declared on record exists
-
delete
void delete()
Delete all record files
-
close
boolean close()
-
-
-
-