Class FileReportBuilder
java.lang.Object
com.itextpdf.pdfoptimizer.report.builder.DefaultReportBuilder
com.itextpdf.pdfoptimizer.report.builder.FileReportBuilder
The goal of the class is to generate optimization report and store it as file.
-
Constructor Summary
ConstructorDescriptionFileReportBuilder
(SeverityLevel level, IReportPublisher publisher) Creates in an instance of the builder with the provided publisher. -
Method Summary
Methods inherited from class com.itextpdf.pdfoptimizer.report.builder.DefaultReportBuilder
getMessages, log, processMessage
-
Constructor Details
-
FileReportBuilder
Creates in an instance of the builder with the provided publisher.- Parameters:
-
level
- is a minimal accepted severity level of event -
publisher
- is an instance ofIReportPublisher
-
-
Method Details
-
build
Generates a report usingIReportPublisher
.- Overrides:
-
build
in classDefaultReportBuilder
- Returns:
- an optimization result object
-