RedactorSettings

Inheritance: java.lang.Object

public class RedactorSettings

Represents redaction settings, allowing to customize the redaction process.


Learn more

Constructors

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.

Methods

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.

RedactorSettings()

public RedactorSettings()

Initializes a new instance of the RedactorSettings class.

RedactorSettings(ILogger logger)

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

RedactorSettings(IRedactionCallback callback)

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

RedactorSettings(IOcrConnector ocrConnector)

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

RedactorSettings(ILogger logger, IRedactionCallback callback)

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

RedactorSettings(ILogger logger, IRedactionCallback callback, IOcrConnector ocrConnector)

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

getLogger()

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.

setLogger(ILogger value)

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.

getRedactionCallback()

public final IRedactionCallback getRedactionCallback()

Gets an instance of a class, implementing IRedactionCallback .

Returns: IRedactionCallback - An instance of a class, implementing IRedactionCallback .

setRedactionCallback(IRedactionCallback value)

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 .

getOcrConnector()

public final IOcrConnector getOcrConnector()

Gets an instance of a class, implementing IOcrConnector interface.

Returns: IOcrConnector - An instance of a class, implementing IOcrConnector interface.

setOcrConnector(IOcrConnector value)

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.