public class IncludeTableFilter extends AbstractTableFilter implements ITableFilter
Constructor and Description |
---|
IncludeTableFilter()
Create a new empty IncludeTableFilter.
|
IncludeTableFilter(String[] tableNames)
Create a new IncludeTableFilter which allow access to specified tables.
|
Modifier and Type | Method and Description |
---|---|
void |
includeTable(String patternName)
Add a new accepted table name pattern.
|
boolean |
isEmpty() |
boolean |
isValidName(String tableName)
Returns
true if specified table is allowed by this filter. |
accept, getTableNames, iterator
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getTableNames, iterator
accept
public IncludeTableFilter()
includeTable(java.lang.String)
to allow
access to some tables.public IncludeTableFilter(String[] tableNames)
public void includeTable(String patternName)
public boolean isEmpty()
public boolean isValidName(String tableName)
AbstractTableFilter
true
if specified table is allowed by this filter.
This legacy method, now replaced by accept, still exist for compatibily
with older environmentisValidName
in class AbstractTableFilter
Copyright © 2002–2017. All rights reserved.