import java.io.IOException;
import java.util.LinkedList;
import java.util.List;
import java.util.Queue;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.jsoup.select.Elements;
public class Robot {
// robot url
private List<String> urlList;
// cache url
private Queue<String> urlQueue;
// define Host
public final static String HOST = "debugs.tk";
// constructor
public Robot() {
super();
// initialization robot's member
setUrlList(new LinkedList<String>());
setUrlQueue(new LinkedList<String>());
本内容试读结束,登录后可阅读更多
下载后可阅读完整内容,剩余4页未读,立即下载