摘要: /* java 获取输入,大写在显示 @author:luowen @time:2013-10-23*/import java.io.*;class GetParam{ public static void main(String[] args) { InputStreamReader isr = null; BufferedReader br = null; try { InputStream in = System.in; isr = new InputStreamReader(in); br = new BufferedReader(isr); ... 阅读全文
posted @ 2013-10-23 18:30 arvim 阅读(592) 评论(0) 推荐(0) 编辑
摘要: /* java 的文件复制 @author:luowen @time:2013-10-23 */import java.io.*;class TextMove{ public static void main(String[] args) throws IOException { //创建读写文件对象 FileReader fr = new FileReader("demo.txt"); FileWriter fw = new FileWriter("demo1.txt"); //创建缓冲区 BufferedReader br = new Buffere 阅读全文
posted @ 2013-10-23 18:23 arvim 阅读(235) 评论(0) 推荐(0) 编辑