public boolean writeFile(String line) {
		if (fwFile == null)
			return false;
		try {
			fwFile.write(line);
			fwFile.flush();//һ仰ϣЩдȥ
			return true;
		} catch (IOException e) {
			// TODO Auto-generated catch block
			System.out.println("ļдʧܣ");
			try {
				fwFile.flush();
			} catch (IOException e1) {
				// TODO Auto-generated catch block
				System.out.println("޷Ĵ");
				e1.printStackTrace();
				return false;
			}
			try {
				fwFile.close();
			} catch (IOException e1) {
				System.out.println("޷Ĵ");
				// TODO Auto-generated catch block
				e1.printStackTrace();
				return false;
			}
			openFile();
			e.printStackTrace();
			writeFile(line);
			return true;
		}
	}