摘要:
/* 综合使用InputStreamReader和OutputStreamWriter */ @Test public void test2() throws IOException { //1.造文件、造流 File file1 = new File("dbcp.txt"); File file2 阅读全文
posted @ 2022-01-27 12:35
摘星丶仙
阅读(25)
评论(0)
推荐(0)
摘要:
处理流之二:转换流 /** * 处理流之二:转换流的使用 * 1.转换流:属于字符流 * InputStreamReader:将一个字节的输入流转换为字符的输入流 * OutputStreamWriter:将一个字符的输出流转换为字节的输出流 * * 2.作用:提供字节流与字符流之间的转换 * * 阅读全文
posted @ 2022-01-27 12:28
摘星丶仙
阅读(22)
评论(0)
推荐(0)

浙公网安备 33010602011771号