mirror of
https://github.com/LingCoder/OnJava8.git
synced 2026-08-25 07:23:27 +08:00
40 lines
979 B
Markdown
40 lines
979 B
Markdown
[TOC]
|
||
|
||
<!-- Appendix: I/O Streams -->
|
||
# 附录:流式IO
|
||
|
||
> Java 7 引入了一种简单明了的方式来读写文件和操作目录。大多情况下,[文件](./17-Files.md)这一章所介绍的那些库和技术就足够你用了。但是,如果你必须面对一些特殊的需求和比较底层的操作,或者处理一些老版本的代码,那么你就必须了解本附录中的内容。
|
||
|
||
对于编程语言的设计者来说,搭建良好的输入/输出(I/O)系统是一项比较困难的任务。
|
||
|
||
<!-- Types of InputStream -->
|
||
## 输入流类型
|
||
|
||
|
||
<!-- Types of OutputStream -->
|
||
## 输出流类型
|
||
|
||
|
||
<!-- Adding Attributes and Useful Interfaces -->
|
||
## 添加属性和有用的接口
|
||
|
||
|
||
<!-- Readers & Writers -->
|
||
## Reader和Writer
|
||
|
||
|
||
<!-- Off By Itself: RandomAccessFile -->
|
||
## RandomAccessFile类
|
||
|
||
|
||
<!-- Typical Uses of I/O Streams -->
|
||
## IO流典型用途
|
||
|
||
|
||
<!-- Summary -->
|
||
## 本章小结
|
||
|
||
|
||
<!-- 分页 -->
|
||
|
||
<div style="page-break-after: always;"></div> |