File type
- File IO package class is the only class representatives disk file information itself, rather than the contents of the file
- File class defines methods to manipulate platform-independent file, for example, create, delete files and rename files
- Java is in the directory as a special file, list can return all the subdirectories and files in the directory
- In the path of the Unix separator (/), in the path of the Dos separator (\), and the Java Dos correctly handle Unix path delimiter
RandomAccessFile class
- RandomAccessFile class provides a large number of file access methods
- RandomAccessFile class supports a "random access" approach
- RandomAccessFile class have the edge in the random read and write as long as the recording format file
- RandomAccessFile class is limited to manipulating files, can not access other IO devices, such as network, memory mapping, etc.
- new RandomAccessFile (f, "rw"); .// readable and writable
- new RandomAccessFile (f, "r"); // read
Various nodes stream class
Character Encoding
Various filtration stream wrapper class
IO class of related applications