public class FileProblemReporter extends java.lang.Object implements ProblemReporter, java.lang.AutoCloseable
NOOP| Constructor and Description |
|---|
FileProblemReporter(java.nio.file.Path problemsReport) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
static java.util.List<Problem> |
loadRecords(java.nio.file.Path file) |
void |
report(Problem problem) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitreport, report, tryMergeFromFile, tryMergeFromFilepublic FileProblemReporter(java.nio.file.Path problemsReport)
public void report(Problem problem)
report in interface ProblemReporterpublic void close()
throws java.io.IOException
close in interface java.lang.AutoCloseablejava.io.IOException@VisibleForTesting public static java.util.List<Problem> loadRecords(java.nio.file.Path file) throws java.io.IOException
java.io.IOException