⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 idstrategy.java

📁 用来为垂直搜索引擎抓取数据的采集系统
💻 JAVA
字号:
/*
 * *****************************************************
 * Copyright (c) 2005 IIM Lab. All  Rights Reserved.
 * Created by xuehao at 2005-10-12
 * Contact: zxuehao@mail.ustc.edu.cn
 * *****************************************************
 */

package org.indigo.pages;
/**
 * 抽象类,主要定义了抽象方法,此方法是用来处理url。
 * @author wbz
 *
 */
public abstract class IdStrategy
{
	protected String itsBeginUrl=null;
	public void setBeginUrl( String beginUrl )
	{
		itsBeginUrl = beginUrl;
        if( !itsBeginUrl.endsWith("/") )
            itsBeginUrl += "/";
	}
    public abstract String getStrategy( String id );
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -