net.sourceforge.addam.impexp
Class Tables
java.lang.Object
net.sourceforge.addam.impexp.Tables
public class Tables
- extends Object
Provides a list of tables and associated csv files for import or export.
- Since:
- Aug 2, 2004
- Author:
- TIM3
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
names
private final List<String> names
pattern
private Pattern pattern
Tables
public Tables()
contains
public boolean contains(String name)
setNames
public void setNames(String tableNames)
- a comma separated list of the names of tables
<tablelist file="foo.csv"/>
- Parameters:
tableNames
- the file to read from
setPattern
public void setPattern(String pattern)
- sets the file to read table names from; this is used when the tablelist is
provided as an element, i.e.
<tablelist file="foo.csv"/>
- Parameters:
pattern
- a regular expression to compare against
setFile
public void setFile(File file)
- sets the file to read table names from; this is used when the tablelist is
provided as an element, i.e.
<tablelist file="foo.csv"/>
- Parameters:
file
- the file to read from
checkInputs
private void checkInputs()
narrow
public static List<String> narrow(List<String> allTableNames,
List<Tables> includes,
List<Tables> excludes)
Copyright © 2005-2006 ADDAM Project Team. All Rights Reserved.