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.
14 lines
317 B
14 lines
317 B
package strategy;
|
|
|
|
import model.CrawlResult;
|
|
import exception.ParseException;
|
|
|
|
import java.io.IOException;
|
|
import java.util.List;
|
|
|
|
public interface CrawlStrategy {
|
|
List<CrawlResult> crawlPage(int page) throws IOException, ParseException;
|
|
String getBaseUrl();
|
|
String getSiteName();
|
|
int getPageSize();
|
|
}
|