public class CellFilter extends Object
Provides an option to limit the scope of a CellColumnRedaction
to a worksheet and a column.
Learn more
Modifier and Type | Field and Description |
---|---|
static int |
NoIndex
Represents a default value for filter, which is -1.
|
Constructor and Description |
---|
CellFilter()
Initializes a new instance.
|
Modifier and Type | Method and Description |
---|---|
int |
getColumnIndex()
Gets a column index (zero-based).
|
int |
getWorkSheetIndex()
Gets a worksheet index (zero-based).
|
String |
getWorkSheetName()
Gets a worksheet name (if applicable).
|
boolean |
hasWorkSheetIndex()
Gets a value indicating whether the
WorkSheetIndex is set or not. |
void |
setColumnIndex(int value)
Sets a column index (zero-based).
|
void |
setWorkSheetIndex(int value)
Sets a worksheet index (zero-based).
|
void |
setWorkSheetName(String value)
Sets a worksheet name (if applicable).
|
public static final int NoIndex
Represents a default value for filter, which is -1.
public final String getWorkSheetName()
Gets a worksheet name (if applicable).
public final void setWorkSheetName(String value)
Sets a worksheet name (if applicable).
value
- A worksheet name (if applicable).public final int getWorkSheetIndex()
Gets a worksheet index (zero-based).
public final void setWorkSheetIndex(int value)
Sets a worksheet index (zero-based).
value
- A worksheet index (zero-based).public final boolean hasWorkSheetIndex()
Gets a value indicating whether the WorkSheetIndex
is set or not.
WorkSheetIndex
is set or not.public final int getColumnIndex()
Gets a column index (zero-based).
public final void setColumnIndex(int value)
Sets a column index (zero-based).
value
- A column index (zero-based).