public final class CrashReportFileNameParser extends Object
Constructor and Description |
---|
CrashReportFileNameParser() |
Modifier and Type | Method and Description |
---|---|
Calendar |
getTimestamp(String reportFileName)
Gets the timestamp of a report from its name
|
boolean |
isApproved(String reportFileName)
Deprecated.
|
boolean |
isSilent(String reportFileName)
Guess that a report is silent from its file name.
|
public boolean isSilent(@NonNull String reportFileName)
reportFileName
- Name of the report to check whether it should be sent silently.ErrorReporter.handleSilentException(Throwable)
.@Deprecated public boolean isApproved(@NonNull String reportFileName)
ReportLocator.getApprovedReports()
and ReportLocator.getUnapprovedReports()
insteadThis includes:
reportFileName
- Name of report to check whether it is approved to be sent.