public class DumpFileDownloader extends Object
Constructor and Description |
---|
DumpFileDownloader(File outputDir) |
Modifier and Type | Method and Description |
---|---|
void |
downloadFrom(File file)
Processes a tsv file containing dump link info and initiates the download process
on that info.
|
File |
getOneFile(DumpLinkInfo link)
Attempts to download the specified file.
|
static void |
main(String[] args) |
public DumpFileDownloader(File outputDir)
public File getOneFile(DumpLinkInfo link) throws InterruptedException, IOException
link
- InterruptedException
IOException
public void downloadFrom(File file) throws InterruptedException, WikiBrainException, IOException
file
- the tsv file containing the dump link infoInterruptedException
WikiBrainException
IOException
public static void main(String[] args) throws org.wikibrain.conf.ConfigurationException, WikiBrainException, IOException, InterruptedException
org.wikibrain.conf.ConfigurationException
WikiBrainException
IOException
InterruptedException
Copyright © 2016. All rights reserved.