2 * Copyright (C) 2017 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
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.
9 package eu
.etaxonomy
.cdm
.io
.plantglossary
;
11 import java
.io
.IOException
;
14 import eu
.etaxonomy
.cdm
.database
.ICdmDataSource
;
15 import eu
.etaxonomy
.cdm
.io
.csv
.in
.CsvImportConfiguratorBase
;
23 public class PlantGlossaryCsvImportConfigurator
24 extends CsvImportConfiguratorBase
{
26 private static final long serialVersionUID
= 987286481306951779L;
28 public static PlantGlossaryCsvImportConfigurator
NewInstance(URI source
,
29 ICdmDataSource cdmDestination
) throws IOException
{
30 return new PlantGlossaryCsvImportConfigurator(source
, cdmDestination
);
33 // ****************** CONSTRUCTOR *****************************/
35 private PlantGlossaryCsvImportConfigurator(URI source
,
36 ICdmDataSource cdmDestination
) throws IOException
{
37 super(source
, cdmDestination
, null);
40 // *************************************
44 @SuppressWarnings("unchecked")
45 protected void makeIoClassList() {
46 ioClassList
= new Class
[] {
47 PlantGlossaryCategoryImport
.class,
48 PlantGlossaryStateImport
.class };
52 public PlantGlossaryCsvImportState
getNewState() {
53 return new PlantGlossaryCsvImportState(this);