摘要:
import java.io.*; public class Demo02InputStreamReader { public static void main(String[] args) throws IOException { InputStreamReader ifr =new InputS 阅读全文
posted @ 2020-10-11 21:11
159566
阅读(145)
评论(0)
推荐(0)
摘要:
import java.io.FileOutputStream; import java.io.IOException; import java.io.OutputStreamWriter; public class Demo03OutputStreamWriter { public static 阅读全文
posted @ 2020-10-11 21:05
159566
阅读(239)
评论(0)
推荐(0)
摘要:
readline import java.io.BufferedReader; import java.io.FileReader; import java.io.IOException; /*readLine读取文本行 * 如果到末尾返回null * * */ public class Demo0 阅读全文
posted @ 2020-10-11 16:14
159566
阅读(117)
评论(0)
推荐(0)
摘要:
newLine 可根据系统改变的换行符号 import java.io.BufferedWriter; import java.io.FileWriter; import java.io.IOException; import java.nio.Buffer; /*使用步骤: 1.创建字符缓冲输出流 阅读全文
posted @ 2020-10-11 15:58
159566
阅读(231)
评论(0)
推荐(0)
摘要:
import javafx.scene.control.ButtonBar; import java.io.*; public class Demo03Copy2 { public static void main(String[] args) throws IOException { long s 阅读全文
posted @ 2020-10-11 15:45
159566
阅读(128)
评论(0)
推荐(0)
摘要:
1.字节缓冲输出流 /* 使用步骤: 1.创建FileOutputStream对象,构造方法中绑定要输出的目的地 2.创建FileOutputStream对象,构造方法中传递FileOutputStream对象,提高FileOutputStream对象效率 3.使用FileOutputStream对 阅读全文
posted @ 2020-10-11 15:23
159566
阅读(224)
评论(0)
推荐(0)

浙公网安备 33010602011771号