package com.huatek.busi.util;
//import java.io.BufferedWriter;
//import java.io.File;
//import java.io.FileWriter;
//import java.io.IOException;

public class FileMain {

	 public static void writeTxt(String content){ 
	/*	 File file = null;
		 FileWriter fw = null;
		 BufferedWriter bw = null;
		try {
			   file = new File("D:/gyx/gisAssess.txt");
			   fw = new FileWriter(file,true);
			   bw = new BufferedWriter(fw);
			   
		      bw.write(content);
		      bw.write("\r\n");
		      bw.close();
		      fw.close();
		} catch (IOException e) {
			e.printStackTrace();
		} finally {
			try {
			bw.close();
			fw.close();
			bw = null;
			fw = null;
			} catch (IOException e) {
				e.printStackTrace();
			}
		}*/
    }
	 
	public static void main(String[] args) {
		// TODO Auto-generated method stub
//		 writeTxt("D:/gyx/result1.txt", "����д��txt�ļ�����");
//		 writeTxt("D:/gyx/result1.txt", "����д��txt11�ļ�����");
//		 writeTxt("D:/gyx/result1.txt", "����д��txt22�ļ�����");
		
		
		 writeTxt("����д��txt�ļ�����");
		 writeTxt("����д��txt11�ļ�����");
		 writeTxt("����д��txt22�ļ�����");
//	        String str = readTxt("D:/yzm/result1.txt");
//	        System.out.println(str);
	}
	
	
}
