Java读取流文件

// 1.建立文件对象 File srcFile = new File("D:\\a.xml"); // 2.建立一个流,指向目标文件 InputStream is = null; try { is = new FileInputStream(srcFile); //3.建立一个用来存储读取数据的缓冲数组 byte[]array =
相关文章
相关标签/搜索