com.groupdocs.redaction.options

Class RedactorSettings



  • public class RedactorSettings
    extends Object

    Represents redaction settings, allowing to customize the redaction process.

    • Constructor Detail

      • RedactorSettings

        public RedactorSettings()

        Initializes a new instance of the RedactorSettings class.

      • RedactorSettings

        public RedactorSettings(ILogger logger)

        Initializes a new instance of the RedactorSettings class with a given ILogger instance.

        Parameters:
        logger - An instance of a class, implementing ILogger interface
      • RedactorSettings

        public RedactorSettings(IRedactionCallback callback)

        Initializes a new instance of the RedactorSettings class with a given IRedactionCallback instance.

        Parameters:
        callback - An instance of a class, implementing IRedactionCallbck interface
      • RedactorSettings

        public RedactorSettings(ILogger logger,
                        IRedactionCallback callback)

        Initializes a new instance of the RedactorSettings class with given ILogger and IRedactionCallback instances.

        Parameters:
        logger - An instance of a class, implementing ILogger interface
        callback - An instance of a class, implementing IRedactionCallbck interface
    • Method Detail

      • getLogger

        public final ILogger getLogger()

        Gets an instance of a class, implementing ILogger, that is used for logging events and errors.

        Returns:
        An instance of a class, implementing ILogger, that is used for logging events and errors.
      • setLogger

        public final void setLogger(ILogger value)

        Sets an instance of a class, implementing ILogger, that is used for logging events and errors.

        Parameters:
        value - 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. Please, note that setting this property affects all instances of Redactor class, as if it was static.

        Returns:
        An instance of a class, implementing IRedactionCallback. Please, note that setting this property affects all instances of Redactor class, as if it was static.
      • setRedactionCallback

        public final void setRedactionCallback(IRedactionCallback value)

        Sets an instance of a class, implementing IRedactionCallback. Please, note that setting this property affects all instances of Redactor class, as if it was static.

        Parameters:
        value - An instance of a class, implementing IRedactionCallback. Please, note that setting this property affects all instances of Redactor class, as if it was static.