Class LogMessageDecorator
java.lang.Object
com.itextpdf.pdfoptimizer.report.decorator.LogMessageDecorator
- All Implemented Interfaces:
-
IMessageDecorator
THe class is responsible for building string representation of the
ReportMessage
according to the following pattern: Location: Message
if location is not empty and Message
otherwise.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondecorateMessage
(ReportMessage message) Displays source of the message (if it is not empty) and its content.
-
Constructor Details
-
LogMessageDecorator
public LogMessageDecorator()
-
-
Method Details
-
decorateMessage
Displays source of the message (if it is not empty) and its content.- Specified by:
-
decorateMessage
in interfaceIMessageDecorator
- Parameters:
-
message
- is a message of the optimization report - Returns:
- string representation of the message
-