public abstract class AbstractTableFilter extends Object implements ITableFilter
ITableFilter
interface to minimize the effort required to implement a filter. Subclasses
are only required to implement the isValidName(java.lang.String) method.| Constructor and Description |
|---|
AbstractTableFilter() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(String tableName)
Returns
true if specified table is allowed by this filter. |
String[] |
getTableNames(IDataSet dataSet)
Returns the table names allowed by this filter from the specified dataset.
|
abstract boolean |
isValidName(String tableName)
Returns
true if specified table is allowed by this filter. |
ITableIterator |
iterator(IDataSet dataSet,
boolean reversed)
Returns iterator of tables allowed by this filter from the specified dataset.
|
public abstract boolean isValidName(String tableName) throws DataSetException
true if specified table is allowed by this filter.
This legacy method, now replaced by accept, still exist for compatibily
with older environmentDataSetExceptionpublic boolean accept(String tableName) throws DataSetException
ITableFilterSimpletrue if specified table is allowed by this filter.accept in interface ITableFilterSimpleDataSetExceptionpublic String[] getTableNames(IDataSet dataSet) throws DataSetException
ITableFiltergetTableNames in interface ITableFilterdataSet - the filtered datasetDataSetExceptionpublic ITableIterator iterator(IDataSet dataSet, boolean reversed) throws DataSetException
ITableFilteriterator in interface ITableFilterdataSet - the filtered datasetDataSetExceptionCopyright © 2002-2017. All Rights Reserved.