Class WgetCommandLineBuilder

java.lang.Object
org.lockss.laaws.crawler.wget.WgetCommandLineBuilder
All Implemented Interfaces:
CmdLineCrawler.CommandLineBuilder

public class WgetCommandLineBuilder extends Object implements CmdLineCrawler.CommandLineBuilder
The builder of a wget command line.
  • Field Details

  • 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:
      buildCommandLine in interface CmdLineCrawler.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.