摘要: import java.io.*;public class BufferOutputDemo { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub byte buf[]=new byte[255]; System.out.println("请输入要创建文件名(用/分格):"); try { System.in.read(buf,0,255);//read()方法会抛出异常 String FileName=new String(buf 阅读全文
posted @ 2014-02-14 16:11 brave-sailor 阅读(431) 评论(0) 推荐(0) 编辑