MinerUrl.java 解析页面后存储URL类
package com.iteye.injavawetrust.miner; /** * 解析页面后存储URL类 * @author InJavaWeTrust * */ public class MinerUrl { /** * 当前爬取URL */ private String url; /** * 当前爬取URL深度 */ private int depth; public String getUrl() { return url; } public void setUrl(String url) { this.url = url; } public int getDepth() { return depth; } public void setDepth(int depth) { this.depth = depth; } }