-
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)
-
Method Summary
Modifier and Type Method Description String
getRecordPath()
String
getDiagnosticDataPath()
String
getReportPath()
long
getSize()
void
setSize(long size)
static BacktraceDatabaseRecord
readFromFile(File file)
Read single record from file BacktraceData
getBacktraceData(Context context)
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()
-
-
Constructor Detail
-
BacktraceDatabaseRecord
BacktraceDatabaseRecord(BacktraceData data, String path)
-
-
Method Detail
-
getRecordPath
String getRecordPath()
-
getDiagnosticDataPath
String getDiagnosticDataPath()
-
getReportPath
String getReportPath()
-
getSize
long getSize()
-
setSize
void setSize(long size)
-
readFromFile
static BacktraceDatabaseRecord readFromFile(File file)
Read single record from file
- Parameters:
file
- current file
-
getBacktraceData
BacktraceData getBacktraceData(Context context)
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()
-
-
-
-