public void init(){
		if (isInit) {
			return;
		}
		//-------------------------------
		try {
			if (settingFile.exists()) {
				logger.info("File Exsit....Reading");
				properties.load(new FileReader(settingFile));
				if (checkProperty(properties)) {
					logger.info("Property read complete!");
					this.updateSetting(properties);
				}else {
					properties = null;	//读取失败删除
					logger.warning("Property is wrong!");
					throw new Exception();
				}
			}else {
				logger.info("File NULL....Creating");
				//输出默认配置
				
				this.setProperties(properties);
				
				properties.store(new FileWriter(settingFile), "");
				logger.info("Default setting...\n"
						+ "if you want to change the setting, \n"
						+ "please edit the "
						+ "system.properties file");
			}
			isInit = true;
		} catch (Exception e) {
			// TODO: handle exception
			logger.warning("SetingFile can't be read!\n"
					+ "System exit!");
			System.exit(0);
		}
	}