Class FileReportPublisher

java.lang.Object
com.itextpdf.pdfoptimizer.report.publisher.FileReportPublisher
All Implemented Interfaces:
IReportPublisher

public class FileReportPublisher extends Object implements IReportPublisher
Class is used to configure optimization report and save it to file.
  • Constructor Details

    • FileReportPublisher

      public FileReportPublisher (File file)
      Creates a new instance of ReportPublisher with DefaultReportDecorator as a decorator and with SeverityLevel.INFO as a minimal severity level.
      Parameters:
      file - is a file where report should be placed
    • FileReportPublisher

      public FileReportPublisher (IReportDecorator decorator, File file)
      Creates a new instance of ReportPublisher with provided IReportDecorator, a minimal severity level and a path to a file with the report.
      Parameters:
      decorator - is a report decorator to set
      file - is a file where report should be placed
  • Method Details