java的几种IO流读取文件方式

字节流: InputStream(读入流) OutputStream(写出流)  字符流: Reader(字符 读入流) Writer (字符写出流)app 2、文件操做流  字节流: FileInputStream ,FileOutputStream  字符流: FileReader, FileWriter(用法与字节流基本相同,不写)it
相关文章
相关标签/搜索