1
|
/**
|
2
|
* Copyright (C) 2017 EDIT
|
3
|
* European Distributed Institute of Taxonomy
|
4
|
* http://www.e-taxonomy.eu
|
5
|
*
|
6
|
* The contents of this file are subject to the Mozilla Public License Version 1.1
|
7
|
* See LICENSE.TXT at the top of this package for the full license terms.
|
8
|
*/
|
9
|
package eu.etaxonomy.cdm.io.greece;
|
10
|
|
11
|
import java.net.URI;
|
12
|
|
13
|
import eu.etaxonomy.cdm.database.ICdmDataSource;
|
14
|
import eu.etaxonomy.cdm.io.common.ImportStateBase;
|
15
|
import eu.etaxonomy.cdm.io.excel.common.ExcelImportConfiguratorBase;
|
16
|
import eu.etaxonomy.cdm.io.mexico.SimpleExcelTaxonImportState;
|
17
|
|
18
|
/**
|
19
|
* @author a.mueller
|
20
|
* @since 08.12.2017
|
21
|
*
|
22
|
*/
|
23
|
public class GreeceGenusAuthorImportConfigurator
|
24
|
extends ExcelImportConfiguratorBase{
|
25
|
|
26
|
private static final long serialVersionUID = 2036787279608394173L;
|
27
|
|
28
|
public static GreeceGenusAuthorImportConfigurator NewInstance(URI source, ICdmDataSource destination) {
|
29
|
return new GreeceGenusAuthorImportConfigurator(source, destination);
|
30
|
}
|
31
|
|
32
|
/**
|
33
|
* @param uri
|
34
|
* @param destination
|
35
|
*/
|
36
|
protected GreeceGenusAuthorImportConfigurator(URI uri, ICdmDataSource destination) {
|
37
|
super(uri, destination);
|
38
|
}
|
39
|
|
40
|
@SuppressWarnings({ "unchecked", "rawtypes" })
|
41
|
@Override
|
42
|
public ImportStateBase getNewState() {
|
43
|
return new SimpleExcelTaxonImportState<>(this);
|
44
|
}
|
45
|
|
46
|
/**
|
47
|
* {@inheritDoc}
|
48
|
*/
|
49
|
@Override
|
50
|
protected void makeIoClassList() {
|
51
|
ioClassList = new Class[]{
|
52
|
GreeceGenusAuthorImport.class,
|
53
|
};
|
54
|
}
|
55
|
|
56
|
}
|