// Test public static void main(String args[]) { try { FtpData.loadProperties("ftp2cdrserver.cfg"); System.out.println(FtpData.LOCAL_FOLDER); System.out.println(FtpData.FTP_SERVER); System.out.println(FtpData.SCHEDULE_TIME); } catch (IOException ex) { System.out.println(ex.getMessage()); } }
public CDRServer() { dbpool = new DBPool(); gateway = new GatewayCDR(); Preference.loadProperties("gateway.cfg"); FtpData.loadProperties("ftp2cdrserver.cfg"); break MISSING_BLOCK_LABEL_51; IOException e; e; Logger.info("CDRServer:", "khong tim thay file cau hinh"); dbpool; DBPool.ConfigDB(); Logger.setLogWriter("log/cdr${yyyy-MM-dd}.log"); break MISSING_BLOCK_LABEL_72; IOException ex; ex; Logger.setLogLevel("info,warn,error,crisis"); return; }