View Javadoc

1   
2   /*
3    * Copyright 2015 Data Archiving and Networked Services (an institute of
4    * Koninklijke Nederlandse Akademie van Wetenschappen), King's College London,
5    * Georg-August-Universitaet Goettingen Stiftung Oeffentlichen Rechts
6    *
7    * Licensed under the EUPL, Version 1.1 or – as soon they will be approved by
8    * the European Commission - subsequent versions of the EUPL (the "Licence");
9    * You may not use this work except in compliance with the Licence.
10   * You may obtain a copy of the Licence at:
11   *
12   * https://joinup.ec.europa.eu/software/page/eupl
13   *
14   * Unless required by applicable law or agreed to in writing, software
15   * distributed under the Licence is distributed on an "AS IS" basis,
16   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17   * See the Licence for the specific language governing
18   * permissions and limitations under the Licence.
19   */
20  
21  package eu.ehri.project.importers.cvoc;
22  
23  import com.tinkerpop.frames.FramedGraph;
24  import eu.ehri.project.models.base.Actioner;
25  import eu.ehri.project.models.cvoc.Vocabulary;
26  
27  
28  public class SkosImporterFactory {
29      public static SkosImporter newSkosImporter(FramedGraph<?> graph,
30              Actioner actioner, Vocabulary vocabulary) {
31          //String property = System.getProperty("eu.ehri.project.importers.SkosImporter");
32          // TODO: Load dynamically via system prop
33          return new JenaSkosImporter(graph, actioner, vocabulary);
34      }
35  
36  }