Package org.lockss.laaws.crawler.wget
Class WgetCommandLineBuilder
java.lang.Object
org.lockss.laaws.crawler.wget.WgetCommandLineBuilder
- All Implemented Interfaces:
CmdLineCrawler.CommandLineBuilder
The builder of a wget command line.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbuildCommandLine(org.lockss.util.rest.crawler.CrawlDesc crawlDesc, File tmpDir) Builds the wget command line.
-
Field Details
-
WARC_FILE_NAME
- See Also:
-
DEFAULT_CONFIG
-
-
Method Details
-
buildCommandLine
public List<String> buildCommandLine(org.lockss.util.rest.crawler.CrawlDesc crawlDesc, File tmpDir) throws IOException Builds the wget command line.- Specified by:
buildCommandLinein interfaceCmdLineCrawler.CommandLineBuilder- Parameters:
crawlDesc- A CrawlDesc with the description of the crawl.tmpDir- A File with the temporary directory where to create files referenced by command line option.- Returns:
- a List
with the wget command line. - Throws:
IOException- if there are problems building the wget command line.
-