JAVA I/O 函数总结
InputStream的种类
OutputStream的种类
ByteArrayInputStream
ByteArrayOutputStream
StringBufferInputStream
FileInputStream
FileOutputStream
PipeInputStream
PipeOutputStream
SequenceInputStream
FilterInputStream
FilterOutputStream
FilterInputStream种类
FilterOutputStream种类
DataInputStream
DataOutputStream
BufferedInputStream
BufferedOutputStream
LineNumberInputStream
PushbackInputStream
PrintStream
————-数 据 源 和 目 的————
Java 1.0
Java 1.1
InputStream
Reader的适配器:InputStreamReader
OutputStream
Writer的适配器:OutputStreamReader
FileInputStream
FileReader
FileOutputSream
FileWriter
StringBufferInputStream
StringReader
无
StringWriter
ByteArrayInputStream
CharArrayReader
ByteArrayOutputStream
CharArrayWriter
PipeInputStream
PipedReader
PipeOutputStream
PipedWriter
Filter 类
Java 1.0
Java 1.1
FilterInputStream
FilterReader
FilterOutputSream
FilterWriter(无派生类的抽象类)
BufferedInputStream
BufferedReader(也有readLine( ))
BufferedOutputStream
DataInputStream
尽量用DataInputStream (除非你用BufferedReader的时候要用readLine( ))
PrintStream
PrintReader
LineNumberInputStream(过时了)
LineNumberReader
StreamTokenizer
StreamTokenizer (换一个构造函数,把Reader当参数传给它)
PushbackInputStream
PushbackReader