Reputation: 7805
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.
Upvotes: 1
Views: 252
Reputation: 7780
Java I/O Streams article in Java Reference, tables in section "Specialized Descendent Stream Classes"
Upvotes: 2
Reputation: 12334
The javadocs for the java.io package would be a good place to start.
Upvotes: 2
Reputation: 18041
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 ...
Upvotes: 4