IOPosted on01/24/202003/14/2021 FileReader&FileWriter用法示例 使用FileReader读取文本文件内容 使用Throws方式 void test1() throws IOException { File file = new File(“dir/1.txt”); i… 文章详情
IOPosted on01/23/202003/14/2021 FileInputStream&FileOutputStream用法示例 FileReader、FileWriter只能够用来处理文本文件,但对于非文本文件(… 文章详情
IOPosted on01/22/202003/14/2021 缓冲流 对于节点流FileReader、FileWriter以及FileInputStream、FileOutputStream,真实开发场景中很ë… 文章详情
IOPosted on01/18/202003/14/2021 对象流 ObjectInputStream和OjbectOutputSteam:用于存储和读取基本数据类型数据或对象௚… 文章详情
IOPosted on01/13/202003/14/2021 RandomAccessFile RandomAccessFile 声明在java.io包下,但直接继承于java.lang.Object类。并且它实现了… 文章详情