The first java IO overall architecture diagram
The second file type
Access file type information is only used to indicate a file or directory (name, size) user can not file content
Third RandomAccessFile
Provides access to the contents of the file, you can either read files, write files, support for random access
The fourth two types of IO streams byte stream and character stream
1. byte stream