[Jave] IO (Input/Output Stream) & FS(File System)
时间:2010-09-10 来源:web_surf
- Package
The package for IO and FS operation is java.io.
- Access File System
- File
Use the class File to access file system, such as rename, delete, listFile, etc.
- xxx
- File
- Input
- InputStream
- FileInputStream
- StringInputStream
Read data from a string object.
- DataInputStream
Read the specified length of data,
Read boolean, long, float, int, short, byte, UTF, xxx
Read a line,
- InputStream
- Output
- OutputStream
- FileOutputStream
- StringOutputStream
Write data to a string object.
- DataOutputStream
Write the specified length of data,
Write boolean, long, float, int, short, byte, UTF, xxx
- OutputStream
- xxx
相关阅读 更多 +