-
public final class CrashReportFileNameParserResponsible for determining the state of a Crash Report based on its file name.
-
-
Constructor Summary
Constructors Constructor Description CrashReportFileNameParser()
-
Method Summary
Modifier and Type Method Description final BooleanisSilent(String reportFileName)Guess that a report is silent from its file name. final BooleanisApproved(String reportFileName)Returns true if the report is considered as approved. final CalendargetTimestamp(String reportFileName)Gets the timestamp of a report from its name -
-
Method Detail
-
isSilent
final Boolean isSilent(String reportFileName)
Guess that a report is silent from its file name.
- Parameters:
reportFileName- Name of the report to check whether it should be sent silently.
-
isApproved
@Deprecated(message = use {@link ReportLocator#getApprovedReports()} and {@link ReportLocator#getUnapprovedReports()} instead) final Boolean isApproved(String reportFileName)
Returns true if the report is considered as approved.
This includes:
Reports which were pending when the user agreed to send a report in the NOTIFICATION mode Dialog.
Explicit silent reports
- Parameters:
reportFileName- Name of report to check whether it is approved to be sent.
-
getTimestamp
final Calendar getTimestamp(String reportFileName)
Gets the timestamp of a report from its name
- Parameters:
reportFileName- Name of the report to get the timestamp from.
-
-
-
-