Java-IO流总结

四大基流:

InputStream---- OutputStream

Reader         ---- Writer

IO流的总结和梳理:

文件流:

FileInputStream

FileOutputStream

FileReader

FileWriter

缓冲流:

BufferedInputStream

BufferedOutputStream

BufferedReader

BufferedWriter

转换流(把字节转换为字符):

InputStreamReader

OutputStreamWriter

内存流(临时存储数据):

ByteArrayInputStream

ByteArrayOutputStream

CharArrayReader

CharArrayWriter

StringReader

StringWriter

顺序流(合并流):

SequenceInputStream

对象流(序列化和反序列化):

ObjectInputStream

ObjectOutputStream

打印流:

PrintStream

PrintWriter

数据流:

DataInputStream

DataOutputStream

管道流:

PipedInputStream

PipedOutputStream

PipedReader

PipedWriter

------------------

File

FIlenameFilter

RandomAccessFile

Files

版权声明:
作者:yfeer
链接:https://www.yfeer.com/832.html
来源:个人编程学习网
文章版权归作者所有,未经允许请勿转载。

THE END
分享
二维码
< <上一篇
下一篇>>