1
|
/**
|
2
|
* Copyright (C) 2018 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 21.08.2018
|
21
|
*
|
22
|
*/
|
23
|
public class GreeceWillingImportConfigurator
|
24
|
extends ExcelImportConfiguratorBase{
|
25
|
|
26
|
private static final long serialVersionUID = 5599561699561750055L;
|
27
|
|
28
|
public static GreeceWillingImportConfigurator NewInstance(URI source, ICdmDataSource destination) {
|
29
|
return new GreeceWillingImportConfigurator(source, destination);
|
30
|
}
|
31
|
|
32
|
/**
|
33
|
* @param uri
|
34
|
* @param destination
|
35
|
*/
|
36
|
protected GreeceWillingImportConfigurator(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
|
@SuppressWarnings("unchecked")
|
50
|
@Override
|
51
|
protected void makeIoClassList() {
|
52
|
ioClassList = new Class[]{
|
53
|
GreeceWillingImport.class,
|
54
|
};
|
55
|
}
|
56
|
|
57
|
}
|