Package de.julielab.bioportal.ontologies
Class OntologyDownloader
- java.lang.Object
-
- de.julielab.bioportal.ontologies.OntologyDownloader
-
public class OntologyDownloader extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static StringONTOLOGY_LIST
-
Constructor Summary
Constructors Constructor Description OntologyDownloader(String apiKey)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DownloadStatsdownloadOntologies(File ontologyDataDir, File ontologyInfoDir, Set<String> ontologiesToDownload)
-
-
-
Field Detail
-
ONTOLOGY_LIST
public static final String ONTOLOGY_LIST
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
OntologyDownloader
public OntologyDownloader(String apiKey)
-
-
Method Detail
-
downloadOntologies
public DownloadStats downloadOntologies(File ontologyDataDir, File ontologyInfoDir, Set<String> ontologiesToDownload) throws org.apache.http.ParseException, IOException, BioPortalOntologyToolsException, InterruptedException, ExecutionException
- Throws:
org.apache.http.ParseExceptionIOExceptionBioPortalOntologyToolsExceptionInterruptedExceptionExecutionException
-
-