标签:txt write edr str dwr buffere main 缓冲区 xxx
public static void main(String[] args) throws IOException{
BufferedReader br = new BufferedReader (new FileReader("xxx.txt"));
BufferedWriter bw = new BufferedWriter (new FileWriter("yyy.txt"));
int c;
while((c = br.read()) != -1){
bw.write(c);
}
br.close();
bw.close();
}
标签:txt write edr str dwr buffere main 缓冲区 xxx
原文地址:https://www.cnblogs.com/wangffeng293/p/13179320.html