public abstract class JannovarDataFactory extends Object
JannovarData
objects from DataSource
s.Constructor and Description |
---|
JannovarDataFactory(DatasourceOptions options,
DataSource dataSource,
org.ini4j.Profile.Section iniSection)
Construct the factory with the given
DataSource . |
Modifier and Type | Method and Description |
---|---|
JannovarData |
build(String downloadDir,
boolean printProgressBars) |
public JannovarDataFactory(DatasourceOptions options, DataSource dataSource, org.ini4j.Profile.Section iniSection)
DataSource
.options
- configuration for proxy settingsdataSource
- the data source to use.iniSection
- Profile.Section
with configuration from INI filepublic final JannovarData build(String downloadDir, boolean printProgressBars) throws InvalidDataSourceException, TranscriptParseException, FileDownloadException
downloadDir
- path of directory to download files toprintProgressBars
- whether or not to print progress barsJannovarData
object for the factory's state.InvalidDataSourceException
- on problems with the data source or data source fileTranscriptParseException
- on problems with processing the transcript and reference dictionary dataFileDownloadException
- on problems while downloading files.Copyright © 2016. All rights reserved.