|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.dbunit.dataset.filter.AbstractTableFilter org.dbunit.dataset.filter.ExcludeTableFilter
public class ExcludeTableFilter
This filter hides specified tables from the filtered dataset. This implementation do not modify the original table order from the filtered dataset and support duplicate table names.
Constructor Summary | |
---|---|
ExcludeTableFilter()
Create a new empty ExcludeTableFilter. |
|
ExcludeTableFilter(java.lang.String[] tableNames)
Create a new ExcludeTableFilter which prevent access to specified tables. |
Method Summary | |
---|---|
void |
excludeTable(java.lang.String patternName)
Add a new refused table pattern name. |
boolean |
isEmpty()
|
boolean |
isValidName(java.lang.String tableName)
Returns true if specified table is allowed by this filter. |
Methods inherited from class org.dbunit.dataset.filter.AbstractTableFilter |
---|
accept, getTableNames, iterator |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.dbunit.dataset.filter.ITableFilter |
---|
accept, getTableNames, iterator |
Constructor Detail |
---|
public ExcludeTableFilter()
excludeTable(java.lang.String)
to hide
some tables.
public ExcludeTableFilter(java.lang.String[] tableNames)
Method Detail |
---|
public void excludeTable(java.lang.String patternName)
public boolean isEmpty()
public boolean isValidName(java.lang.String tableName) throws DataSetException
AbstractTableFilter
true
if specified table is allowed by this filter.
This legacy method, now replaced by accept, still exist for compatibily
with older environment
isValidName
in class AbstractTableFilter
DataSetException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |