Package org.apache.any23.extractor
Interface IssueReport
-
- All Known Subinterfaces:
ExtractionResult,TagSoupExtractionResult
- All Known Implementing Classes:
ExtractionResultImpl
public interface IssueReportThis interface models an issue reporter.- Author:
- Michele Mostarda (michele.mostarda@gmail.com)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classIssueReport.IssueThis class defines a generic issue traced by this extraction result.static classIssueReport.IssueLevelPossible issue levels.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<IssueReport.Issue>getIssues()Returns all the collected issues.voidnotifyIssue(IssueReport.IssueLevel level, String msg, long row, long col)Notifies an issue occurred while performing an extraction on an input stream.voidprintReport(PrintStream ps)Prints out the content of the report.
-
-
-
Method Detail
-
notifyIssue
void notifyIssue(IssueReport.IssueLevel level, String msg, long row, long col)
Notifies an issue occurred while performing an extraction on an input stream.- Parameters:
level- issue level.msg- issue message.row- issue row.col- issue column.
-
printReport
void printReport(PrintStream ps)
Prints out the content of the report.- Parameters:
ps- aPrintStreamto use for generating the report.
-
getIssues
Collection<IssueReport.Issue> getIssues()
Returns all the collected issues.- Returns:
- a collection of
IssueReport.Issues.
-
-