Html.java 存储页面信息类
package com.iteye.injavawetrust.miner; /** * 存储页面信息类 * @author InJavaWeTrust * */ public class Html { /** * 页面URL */ private String url; /** * 页面信息 */ private String html; /** * 爬取深度 */ private int depth; public String getUrl() { return url; } public void setUrl(String url) { this.url = url; } public String getHtml() { return html; } public void setHtml(String html) { this.html = html; } public int getDepth() { return depth; } public void setDepth(int depth) { this.depth = depth; } }