📄 facilitator.java
字号:
/**
* Created by IntelliJ IDEA.
* User: Administrator
* Date: Jul 19, 2003
* Time: 1:46:24 PM
* To change this template use Options | File Templates.
*/
package Kernel;
import java.util.*;
import Classification.ArticleBatch;
public class Facilitator {
static Hashtable ArticleDateTable = new Hashtable();
public static void main(String[] args) {
comTool.initLog();
comTool.SpiderLog.warn("The Spider is Begin !");
while(true){
try{
Thread.sleep(100000); //100 sec
}catch(Exception ex){
ex.printStackTrace();
}
Date startDate = new Date();
comTool.SpiderLog.info("Classify BBS Information Begin !");
int classifyNum = ArticleBatch.HandleArticle();
comTool.SpiderLog.info("Classify BBS Information End !");
System.out.println("Start Time : "+startDate);
System.out.println("End Time : "+new Date());
System.out.println("Totally Handled "+classifyNum+" articles !");
comTool.SpiderLog.info("Classify BBS Totally Handled "+classifyNum+" articles !");
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -