public static void write2LocalServiceFile(){
		File LocalHostFile = new File(Util.LOCALHOSTINFOPATH);
		if(!LocalHostFile.exists()){
			try {
				LocalHostFile.createNewFile();
			} catch (IOException e) {
				// TODO Auto-generated catch block
				e.printStackTrace();
			}
		}
		Properties ps = new Properties();
		LocalServiceBean lostService = OnceClass.getOnce().getLocalServiceInfo();
		BufferedReader br = Util.getBufferedReader(LocalHostFile);
		BufferedWriter bw = Util.getBufferedWriterFg(LocalHostFile);
		try {
			ps.load(br);
			ps.setProperty("mailPath", lostService.getMailPath());
			ps.setProperty("mailSuffix", lostService.getMailSuffix());
			ps.setProperty("serviceState", lostService.getServiceState());
			ps.setProperty("pop3Port", lostService.getPop3Port());
			ps.setProperty("stmpPort", lostService.getStmpPort());
			ps.store(bw, Util.getNowTime());
			br.close();
			bw.close();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}