Modifier and Type | Method and Description |
---|---|
List<ReportMessage> |
OptimizationResult.getMessages()
Gets the list of messages logged during the optimization process.
|
Constructor and Description |
---|
OptimizationResult(List<ReportMessage> messages)
Creates a new instance of optimization result with provided list of messages.
|
Modifier and Type | Method and Description |
---|---|
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 Type | Method and Description |
---|---|
protected ArrayList<ReportMessage> |
DefaultReportBuilder.getMessages()
Returns list of logged messages.
|
Modifier and Type | Method and Description |
---|---|
protected 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.
|
Modifier and Type | Method and Description |
---|---|
String |
DefaultMessageDecorator.decorateMessage(ReportMessage message)
Displays severity of the message, its source and its content.
|
String |
LogMessageDecorator.decorateMessage(ReportMessage message)
Displays source of the message (if it is not empty) and its content.
|
String |
IMessageDecorator.decorateMessage(ReportMessage message)
Converts ReportMessage into a string.
|
Modifier and Type | Method and Description |
---|---|
void |
IReportPublisher.publishReport(List<ReportMessage> messages)
Generates report based on list of messages and saves it to file.
|
void |
FileReportPublisher.publishReport(List<ReportMessage> messages)
Generates report based on DefaultReportBuilder and saves it to file.
|
Copyright © 1998–2022 iText Group NV. All rights reserved.