一、 1 import java.io.FileReader; 2 import java.io.FileWriter; 3 import java.io.IOException; 4 /* 5 * 需求:将c盘的一个文本文件复制到d盘。 6 * 7 * 思路: 8 * 1,需要读取源, 9 * 2,将读到的源数据写入到目的地。10 * 3,既然是操作文本数据,使用字符流。11 *12 */13 public class CopyTextTest {14 /**15 * @param args16 * @throws IOException17 */18 public static void Read More
posted @ 2013-03-19 23:26
hi_stefen
Views(161)
Comments(0)
Diggs(0)