public class SequenceTableFilter extends java.lang.Object implements ITableFilter
FilteredDataSet.| Constructor and Description |
|---|
SequenceTableFilter(java.lang.String[] tableNames)
Creates a new SequenceTableFilter with specified table names sequence.
|
SequenceTableFilter(java.lang.String[] tableNames,
boolean caseSensitiveTableNames)
Creates a new SequenceTableFilter with specified table names sequence.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(java.lang.String tableName)
Returns
true if specified table is allowed by this filter. |
java.lang.String[] |
getTableNames(IDataSet dataSet)
Returns the table names allowed by this filter from the specified dataset.
|
ITableIterator |
iterator(IDataSet dataSet,
boolean reversed)
Returns iterator of tables allowed by this filter from the specified dataset.
|
java.lang.String |
toString() |
public SequenceTableFilter(java.lang.String[] tableNames)
throws AmbiguousTableNameException
AmbiguousTableNameException - If the given array contains ambiguous namespublic SequenceTableFilter(java.lang.String[] tableNames,
boolean caseSensitiveTableNames)
throws AmbiguousTableNameException
tableNames - caseSensitiveTableNames - AmbiguousTableNameException - If the given array contains ambiguous namespublic boolean accept(java.lang.String tableName)
throws DataSetException
ITableFilterSimpletrue if specified table is allowed by this filter.accept in interface ITableFilterSimpleDataSetExceptionpublic java.lang.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 datasetDataSetExceptionpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2002-2018. All Rights Reserved.