::::::1 ::::::::::::::::::::
Similar to the same word, the character stream is also processed to the UNICODE character stream through the subclass of the two top abstract class Reader and Writer.
Figure 3: Reader abstraction class
Figure 4: Writer Abstract Class Abstract Class Reader and Writer define a practical method, the most important is read () and write (). These two methods are declared in Reader and Writer as an abstract method, and is implemented by sub-stream OverWrite.
The following is a brief introduction to the character stream, inheriting the main subflow of Reader and Wirs.
Character flow function briefly introduces the Reader abstraction class, describing the input Writer abstraction class of the character stream, describing the input stream of the character stream STINGRITER writes the input stream of the string FileReader from the file FileWriter The output stream of the write file PrintWriter contains the most common output () and println () output stream PushbackReader returns a character to the input stream, which is mainly used for the compiler to implement the PiPedReader output pipeline PiPedWriter input pipeline ChararrayReader read input from the character array flow CharArrayWriter written character array output stream BufferReader buffered input stream BufferWriter buffered output stream FilterReader achieved InputStream Interface FilterWriter achieved OutputStream Interface InputStreamReader converts a byte stream input character OutputStreamWriter converts a byte character output stream
Contrast two tables, do you have any findings? ~~ ^ _ ^, is it a lot of types and roles, yes! The differences in these methods are only in one for bytes, and one is for characters.