Uses of Class
com.itextpdf.pdfoptimizer.report.message.ReportMessage
Package
Description
-
Uses of ReportMessage in com.itextpdf.pdfoptimizer.report
Modifier and TypeMethodDescriptionOptimizationResult.getMessages()
Gets the list of messages logged during the optimization process.ModifierConstructorDescriptionOptimizationResult
(List<ReportMessage> messages) Creates a new instance of optimization result with provided list of messages. -
Uses of ReportMessage in com.itextpdf.pdfoptimizer.report.builder
Modifier and TypeMethodDescriptionfinal ReportMessage
DefaultReportBuilder.log
(SeverityLevel level, Date time, LocationStack location, String message, Object... params) Creates a message during PDF optimization process with provided severity level and message.Modifier and TypeMethodDescriptionprotected ArrayList<ReportMessage>
DefaultReportBuilder.getMessages()
Returns list of logged messages.Modifier and TypeMethodDescriptionprotected void
DefaultReportBuilder.processMessage
(ReportMessage message) Allows to provide additional logic of message processing.void
LogReportBuilder.processMessage
(ReportMessage reportMessage) Stores message and logs it using logger. -
Uses of ReportMessage in com.itextpdf.pdfoptimizer.report.decorator
Modifier and TypeMethodDescriptionDefaultMessageDecorator.decorateMessage
(ReportMessage message) Displays severity of the message, its source and its content.IMessageDecorator.decorateMessage
(ReportMessage message) ConvertsReportMessage
into a string.LogMessageDecorator.decorateMessage
(ReportMessage message) Displays source of the message (if it is not empty) and its content. -
Uses of ReportMessage in com.itextpdf.pdfoptimizer.report.publisher
Modifier and TypeMethodDescriptionvoid
FileReportPublisher.publishReport
(List<ReportMessage> messages) Generates report based onDefaultReportBuilder
and saves it to file.void
IReportPublisher.publishReport
(List<ReportMessage> messages) Generates report based on list of messages and saves it to file.