public class ExcludeTableFilter extends AbstractTableFilter implements ITableFilter
| Constructor and Description |
|---|
ExcludeTableFilter()
Create a new empty ExcludeTableFilter.
|
ExcludeTableFilter(String[] tableNames)
Create a new ExcludeTableFilter which prevent access to specified tables.
|
| Modifier and Type | Method and Description |
|---|---|
void |
excludeTable(String patternName)
Add a new refused table pattern name.
|
boolean |
isEmpty() |
boolean |
isValidName(String tableName)
Returns
true if specified table is allowed by this filter. |
accept, getTableNames, iteratorclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetTableNames, iteratoracceptpublic ExcludeTableFilter()
excludeTable(java.lang.String) to hide
some tables.public ExcludeTableFilter(String[] tableNames)
public void excludeTable(String patternName)
public boolean isEmpty()
public boolean isValidName(String tableName) throws DataSetException
AbstractTableFiltertrue if specified table is allowed by this filter.
This legacy method, now replaced by accept, still exist for compatibily
with older environmentisValidName in class AbstractTableFilterDataSetExceptionCopyright © 2002-2017. All Rights Reserved.