Revision ab4cc1fb
Added by Andreas Müller about 14 years ago
cdmlib-io/src/main/java/eu/etaxonomy/cdm/io/excel/common/ExcelImportConfiguratorBase.java | ||
---|---|---|
10 | 10 |
package eu.etaxonomy.cdm.io.excel.common; |
11 | 11 |
|
12 | 12 |
|
13 |
import java.io.InputStream; |
|
14 |
|
|
15 | 13 |
import org.apache.log4j.Logger; |
16 | 14 |
|
17 | 15 |
import eu.etaxonomy.cdm.database.ICdmDataSource; |
18 | 16 |
import eu.etaxonomy.cdm.io.common.IImportConfigurator; |
19 | 17 |
import eu.etaxonomy.cdm.io.common.ImportConfiguratorBase; |
20 |
import eu.etaxonomy.cdm.model.reference.IDatabase;
|
|
18 |
import eu.etaxonomy.cdm.io.common.mapping.IInputTransformer;
|
|
21 | 19 |
import eu.etaxonomy.cdm.model.reference.ReferenceBase; |
22 | 20 |
import eu.etaxonomy.cdm.model.reference.ReferenceFactory; |
23 | 21 |
|
24 | 22 |
public abstract class ExcelImportConfiguratorBase extends ImportConfiguratorBase implements IImportConfigurator{ |
25 | 23 |
private static final Logger logger = Logger.getLogger(ExcelImportConfiguratorBase.class); |
26 | 24 |
|
25 |
//TODO |
|
26 |
private static IInputTransformer defaultTransformer = null; |
|
27 |
|
|
27 | 28 |
/** |
28 | 29 |
* @param url |
29 | 30 |
* @param destination |
30 | 31 |
*/ |
31 | 32 |
protected ExcelImportConfiguratorBase(String url, ICdmDataSource destination) { |
32 |
super(); |
|
33 |
super(defaultTransformer);
|
|
33 | 34 |
setSource(url); |
34 | 35 |
setDestination(destination); |
35 | 36 |
} |
Also available in: Unified diff
some refactoring in the IO classes