Search code examples
javastream

Is there a comprehensive list of Java I/O stream classes and what they're used for?


Could you please advise 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 StringWriter 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.


Solution

  • Java I/O Streams article in Java Reference, tables in section "Specialized Descendent Stream Classes"