Class CellColumnRedaction

  • public class CellColumnRedaction
    extends TextRedaction

    Redacts text in tabular document with at least one worksheet and table (e.g. CSV, Excel etc)

    • Constructor Detail

      • CellColumnRedaction

        public CellColumnRedaction(CellFilter filter,
                           Pattern regEx,
                           ReplacementOptions options)

        Creates new instance

        filter - Column and worksheet filter
        regEx - Regular expression to search and replace
        options - Replacement options
    • Method Detail

      • getPattern

        public final Pattern getPattern()

        Regular expression to search and replace

      • getFilter

        public final CellFilter getFilter()

        Column and worksheet filter

      • applyTo

        public RedactionLogEntry applyTo(DocumentFormatInstance formatInstance)

        Applies redaction to given format instance

        Specified by:
        applyTo in class Redaction
        formatInstance - An instance of a document to apply redaction
        Status of redaction: success/failure and error message if any