public class ReportMessage extends Object
Constructor and Description |
---|
ReportMessage(SeverityLevel level,
Date time,
String location,
String message)
Creates an instance of a optimization report message.
|
Modifier and Type | Method and Description |
---|---|
SeverityLevel |
getLevel()
Retrieves current
SeverityLevel . |
String |
getLocation()
Retrieves a location where message was generated.
|
String |
getMessage()
Retrieves content of the message.
|
Date |
getTime()
Retrieves the time when the message was generated.
|
public ReportMessage(SeverityLevel level, Date time, String location, String message)
level
- is a SeverityLevel
of the messagetime
- is a time when the message was generatedlocation
- is a string representation of the origin of the messagemessage
- is a text of the messagepublic SeverityLevel getLevel()
SeverityLevel
.public Date getTime()
public String getLocation()
public String getMessage()
Copyright © 1998–2024 iText Group NV. All rights reserved.