Class DefaultMessageDecorator
java.lang.Object
com.itextpdf.pdfoptimizer.report.decorator.DefaultMessageDecorator
- All Implemented Interfaces:
-
IMessageDecorator
- Direct Known Subclasses:
-
DefaultReportDecorator
The class is responsible for building string representation of the
ReportMessage according to the following pattern: [SEVERITY] Location: Message.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondecorateMessage(ReportMessage message) Displays severity of the message, its source and its content.
-
Constructor Details
-
DefaultMessageDecorator
public DefaultMessageDecorator()
-
-
Method Details
-
decorateMessage
Displays severity of the message, its source and its content.- Specified by:
-
decorateMessagein interfaceIMessageDecorator - Parameters:
-
message- is a message of the optimization report - Returns:
- string representation of the message
-