RedactorSettings
Leave feedback
On this page
Inheritance: java.lang.Object
public class RedactorSettings
Represents redaction settings, allowing to customize the redaction process.
Learn more
- More details about implementing ILogger interface: Use advanced logging
- More details about implementing IRedactionCallback interface: Use redaction callback
| Constructor | Description |
|---|---|
| RedactorSettings() | Initializes a new instance of the RedactorSettings class. |
| RedactorSettings(ILogger logger) | Initializes a new instance of the RedactorSettings class with a given ILogger instance. |
| RedactorSettings(IRedactionCallback callback) | Initializes a new instance of the RedactorSettings class with a given IRedactionCallback instance. |
| RedactorSettings(IOcrConnector ocrConnector) | Initializes a new instance of the RedactorSettings class with a given IOcrConnector instance. |
| RedactorSettings(ILogger logger, IRedactionCallback callback) | Initializes a new instance of the RedactorSettings class with given ILogger and IRedactionCallback instances. |
| RedactorSettings(ILogger logger, IRedactionCallback callback, IOcrConnector ocrConnector) | Initializes a new instance of the RedactorSettings class with given ILogger, IRedactionCallback and IOcrConnector instances. |
| Method | Description |
|---|---|
| getLogger() | Gets an instance of a class, implementing ILogger , that is used for logging events and errors. |
| setLogger(ILogger value) | Sets an instance of a class, implementing ILogger , that is used for logging events and errors. |
| getRedactionCallback() | Gets an instance of a class, implementing IRedactionCallback . |
| setRedactionCallback(IRedactionCallback value) | Sets an instance of a class, implementing IRedactionCallback . |
| getOcrConnector() | Gets an instance of a class, implementing IOcrConnector interface. |
| setOcrConnector(IOcrConnector value) | Sets an instance of a class, implementing IOcrConnector interface. |
public RedactorSettings()
Initializes a new instance of the RedactorSettings class.
public RedactorSettings(ILogger logger)
Initializes a new instance of the RedactorSettings class with a given ILogger instance.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| logger | ILogger | An instance of a class, implementing ILogger interface |
public RedactorSettings(IRedactionCallback callback)
Initializes a new instance of the RedactorSettings class with a given IRedactionCallback instance.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| callback | IRedactionCallback | An instance of a class, implementing IRedactionCallbck interface |
public RedactorSettings(IOcrConnector ocrConnector)
Initializes a new instance of the RedactorSettings class with a given IOcrConnector instance.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| ocrConnector | IOcrConnector | A valid implementation of IOcrConnector interface |
public RedactorSettings(ILogger logger, IRedactionCallback callback)
Initializes a new instance of the RedactorSettings class with given ILogger and IRedactionCallback instances.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| logger | ILogger | An instance of a class, implementing ILogger interface |
| callback | IRedactionCallback | An instance of a class, implementing IRedactionCallbck interface |
public RedactorSettings(ILogger logger, IRedactionCallback callback, IOcrConnector ocrConnector)
Initializes a new instance of the RedactorSettings class with given ILogger, IRedactionCallback and IOcrConnector instances.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| logger | ILogger | An instance of a class, implementing ILogger interface |
| callback | IRedactionCallback | An instance of a class, implementing IRedactionCallbck interface |
| ocrConnector | IOcrConnector | An instance of IOcrConnector interface implementation. Can be null |
public final ILogger getLogger()
Gets an instance of a class, implementing ILogger , that is used for logging events and errors.
Returns: ILogger - An instance of a class, implementing ILogger , that is used for logging events and errors.
public final void setLogger(ILogger value)
Sets an instance of a class, implementing ILogger , that is used for logging events and errors.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | ILogger | An instance of a class, implementing ILogger , that is used for logging events and errors. |
public final IRedactionCallback getRedactionCallback()
Gets an instance of a class, implementing IRedactionCallback .
Returns: IRedactionCallback - An instance of a class, implementing IRedactionCallback .
public final void setRedactionCallback(IRedactionCallback value)
Sets an instance of a class, implementing IRedactionCallback .
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | IRedactionCallback | An instance of a class, implementing IRedactionCallback . |
public final IOcrConnector getOcrConnector()
Gets an instance of a class, implementing IOcrConnector interface.
Returns: IOcrConnector - An instance of a class, implementing IOcrConnector interface.
public final void setOcrConnector(IOcrConnector value)
Sets an instance of a class, implementing IOcrConnector interface.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | IOcrConnector | An instance of a class, implementing IOcrConnector interface. |
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.