摘要: import java.io.BufferedOutputStream; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; /* 输出字节流 --------| OutputStream 所有输出字节流的... 阅读全文
posted @ 2017-02-12 21:33 iFat 阅读(541) 评论(0) 推荐(0) 编辑
摘要: import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; /* 我们清楚读取文... 阅读全文
posted @ 2017-02-12 21:03 iFat 阅读(608) 评论(0) 推荐(0) 编辑
摘要: import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import javax.management.RuntimeErrorException; /* IO异常 的处理 */ public class Demo1... 阅读全文
posted @ 2017-02-12 18:19 iFat 阅读(407) 评论(0) 推荐(0) 编辑
摘要: import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; /* 输出字节流: --------| OutputStream 是所有输出字节流 ... 阅读全文
posted @ 2017-02-12 17:02 iFat 阅读(395) 评论(0) 推荐(0) 编辑
摘要: /* File类: 用于描述一个文件或者文件夹的。 通过File对象我们可以读取文件或者文件夹的属性数据,如果我们需要读取文件的内容数据,那么我们需要使用IO流技术。 IO流(Input Output) IO流解决问题: 解决设备与设备之间的数据传输问题。 内存--->硬盘 硬盘--->内存 IO流技术: IO流分类: 如果是按照数据的流向划分: ... 阅读全文
posted @ 2017-02-12 01:06 iFat 阅读(244) 评论(0) 推荐(0) 编辑