WatermarkerSettings
Contents
[
Hide
]
Inheritance: java.lang.Object
public final class WatermarkerSettings
Defines settings for customizing Watermarker behaviour.
Constructors
Constructor | Description |
---|---|
WatermarkerSettings() | Initializes new instance of WatermarkerSettings class. |
Methods
Method | Description |
---|---|
getSearchableObjects() | Gets SearchableObjects that are to be included in a watermark search. |
setSearchableObjects(SearchableObjects value) | Sets SearchableObjects that are to be included in a watermark search. |
getLogger() | Gets the logger which is used for logging events and errors during watermarking. |
setLogger(ILogger value) | Sets the logger which is used for logging events and errors during watermarking. |
logError(WatermarkException exception, String format, Object[] args) | |
logError(WatermarkException exception) | |
logWarning(String format, Object[] args) | |
logTrace(String format, Object[] args) |
WatermarkerSettings()
public WatermarkerSettings()
Initializes new instance of WatermarkerSettings class.
getSearchableObjects()
public final SearchableObjects getSearchableObjects()
Gets SearchableObjects that are to be included in a watermark search.
Returns: SearchableObjects - The SearchableObjects that are to be included in a watermark search.
setSearchableObjects(SearchableObjects value)
public final void setSearchableObjects(SearchableObjects value)
Sets SearchableObjects that are to be included in a watermark search.
Parameters:
Parameter | Type | Description |
---|---|---|
value | SearchableObjects | The SearchableObjects that are to be included in a watermark search. |
getLogger()
public final ILogger getLogger()
Gets the logger which is used for logging events and errors during watermarking.
Returns:
ILogger - An instance of class that implements [ILogger](../../com.groupdocs.watermark.options/ilogger)
interface.
setLogger(ILogger value)
public final void setLogger(ILogger value)
Sets the logger which is used for logging events and errors during watermarking.
Parameters:
Parameter | Type | Description |
---|---|---|
value | ILogger | An instance of class that implements [ILogger](../../com.groupdocs.watermark.options/ilogger) interface. |
logError(WatermarkException exception, String format, Object[] args)
public final void logError(WatermarkException exception, String format, Object[] args)
Parameters:
Parameter | Type | Description |
---|---|---|
exception | WatermarkException | |
format | java.lang.String | |
args | java.lang.Object[] |
logError(WatermarkException exception)
public final void logError(WatermarkException exception)
Parameters:
Parameter | Type | Description |
---|---|---|
exception | WatermarkException |
logWarning(String format, Object[] args)
public final void logWarning(String format, Object[] args)
Parameters:
Parameter | Type | Description |
---|---|---|
format | java.lang.String | |
args | java.lang.Object[] |
logTrace(String format, Object[] args)
public final void logTrace(String format, Object[] args)
Parameters:
Parameter | Type | Description |
---|---|---|
format | java.lang.String | |
args | java.lang.Object[] |