IO stream
|--Byte stream
|--byte input stream
InputStream (abstract Class)
int read (): reads one byte at a time
int read (byte[] bys): reads one byte array at a time
|--fileinputstream
|--bufferedinputstream
|--byte output stream
OutputStream (abstract Class)
void write (int by): Write one byte at a time
void Write (byte[] bys,int index,int len): Write one part of a byte array at a time
|--fileoutputstream
|--bufferedoutputstream
|--character Stream
|--character input stream
Reader (abstract Class)
int read (): read one character at a time
int read (char[] CHS): read one character array at a time
|--inputstreamreader
|--filereader
|--bufferedreader
String ReadLine (): reads one string at a time
|--character output stream
Writer (abstract Class)
void write (int ch): Write one character at a time
void Write (char[] chs,int index,int len): Write one part of a character array at a time
|--outputstreamwriter
|--filewriter
|--bufferedwriter
void NewLine (): Write a line break
void write (string line): Write one string at a time
Java Fundamentals (11)---IO