?? loggerfactory.java
字號:
package cn.edu.nju.software.sd.cll;/** * class LoggerFactory * one part of the factory pattern * @author SuSE * */public class LoggerFactory { Logger aLogger;/** * Instance. */ public LoggerFactory loggerFactory; static FrameWork framework=FrameWork.getframework();/** * to tell the time now... */ private static long start=System.currentTimeMillis(); //The Time Start. /** * Default construct(null); */ public LoggerFactory () { } /** * getLogger function * one part of the factory pattern. * @param STRname * @return */ @SuppressWarnings("static-access") public static Logger getLogger (String STRname) { return framework.getLogger(STRname); } /** * get the current time(System). * @return */ public static long getTime(){ return start; }}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -