tags:

views:

68

answers:

3

Hello,

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 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.

Thank you.

+4  A: 

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 ...

Saul
+2  A: 

The javadocs for the java.io package would be a good place to start.

codelark
+2  A: 

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

Kel
Thank you. Despite not all of the streams are listed. It contains the table where written what's for and when they can be used.
yart