You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
330 B
17 lines
330 B
|
|
package command;
|
|
|
|
import controller.CrawlerController;
|
|
|
|
public class CrawlCommand implements Command {
|
|
private int platform;
|
|
|
|
public CrawlCommand(int platform) {
|
|
this.platform = platform;
|
|
}
|
|
|
|
public void execute(CrawlerController controller) throws Exception {
|
|
controller.crawl(platform);
|
|
}
|
|
}
|
|
|
|
|