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

📄 facilitator.java

📁 用java实现的一个bbs的portal
💻 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 + -