could you please advice what Java I/O Streams can be used for? Every of them which is in standard Java 5 or Java 6 I/O API.
For example FileReader and FileWriter are used for reading and writing files. StringReader and Strin开发者_运维问答gWriter are used for reading and writing strings in memory. ObjectInputStream and ObjectOutputStream used for Serialization.
If you know there is somewhere such table please let me know.
Thank you.
The official Java tutorial has a whole chapter dedicated to streams:
Lesson: Basic I/O (The Java™ Tutorials > Essential Classes)
Data Streams (The Java™ Tutorials > Essential ...
Java I/O Streams article in Java Reference, tables in section "Specialized Descendent Stream Classes"
The javadocs for the java.io package would be a good place to start.
精彩评论