1 changed files with 0 additions and 21 deletions
@ -1,21 +0,0 @@ |
|||||
package com.example.datacollect; |
|
||||
|
|
||||
import com.example.datacollect.controller.CrawlerController; |
|
||||
import com.example.datacollect.model.Article; |
|
||||
import com.example.datacollect.view.ConsoleView; |
|
||||
import java.util.ArrayList; |
|
||||
import java.util.List; |
|
||||
|
|
||||
public class Main { |
|
||||
|
|
||||
public static void main(String[] args) { |
|
||||
ConsoleView view = new ConsoleView(); |
|
||||
List<Article> articles = new ArrayList<>(); |
|
||||
CrawlerController controller = new CrawlerController(view, articles); |
|
||||
|
|
||||
view.printSuccess("Welcome to CLI Crawler (w9_1)! Type help for commands."); |
|
||||
while (true) { |
|
||||
controller.handle(view.readLine()); |
|
||||
} |
|
||||
} |
|
||||
} |
|
||||
Loading…
Reference in new issue