com.groupdocs.redaction.redactions

Interface IRedactionCallback



  • public interface IRedactionCallback

    Defines methods that are required for receiving information on each redaction change and optionally prevent it.

    • Method Summary

      Methods 
      Modifier and Type Method and Description
      boolean acceptRedaction(RedactionDescription description)
      This call is triggered right before applying any redaction to the document and allows to log or forbid it.
    • Method Detail

      • acceptRedaction

        boolean acceptRedaction(RedactionDescription description)

        This call is triggered right before applying any redaction to the document and allows to log or forbid it.

        Parameters:
        description - Contains information about particular match type, criteria, text and position
        Returns:
        Return true to accept or false to decline particular match redaction