public class CellColumnRedaction extends TextRedaction
Represents a text redaction that replaces text in a spreadsheet documents (CSV, Excel, etc.).
Constructor and Description |
---|
CellColumnRedaction(CellFilter filter,
Pattern regEx,
ReplacementOptions options)
Initializes a new instance of CellColumnRedaction class.
|
Modifier and Type | Method and Description |
---|---|
RedactorLogEntry |
applyTo(DocumentFormatInstance formatInstance)
Applies the redaction to a given format instance.
|
CellFilter |
getFilter()
Gets the column and worksheet filter.
|
Pattern |
getPattern()
Gets the regular expression to match.
|
getActionOptions
public CellColumnRedaction(CellFilter filter, Pattern regEx, ReplacementOptions options)
Initializes a new instance of CellColumnRedaction class.
filter
- Column and worksheet filterregEx
- Regular expression to search and replaceoptions
- Replacement optionspublic final Pattern getPattern()
Gets the regular expression to match.
public final CellFilter getFilter()
Gets the column and worksheet filter.
public RedactorLogEntry applyTo(DocumentFormatInstance formatInstance)
Applies the redaction to a given format instance.