-
Bug
-
Resolution: Not an Issue
-
P4
-
None
-
6-pool
-
generic
-
generic
In your tutorial:
http://download-llnw.oracle.com/javase/tutorial/essential/io/charstreams.html
Under the section 'Using Character Streams'
I would suggest using 'inputReader', 'outputReader' for FileReader, and FileWriter examples. Because the previous page talks about input/output streams, and the current page talks about writers. So, the variable names are misleading.
Also, on this page is a discussion about how Reader and Writer leverage InputStream and OutputStream, yet when you click the link to Reader or Writer found on this page:
http://download.oracle.com/javase/7/docs/api/java/io/Reader.html
http://download.oracle.com/javase/7/docs/api/java/io/Writer.html
You will see that Reader/Writer inherit directly from Object Class and not from Input/Output Stream, so something is amiss here.
http://download-llnw.oracle.com/javase/tutorial/essential/io/charstreams.html
Under the section 'Using Character Streams'
I would suggest using 'inputReader', 'outputReader' for FileReader, and FileWriter examples. Because the previous page talks about input/output streams, and the current page talks about writers. So, the variable names are misleading.
Also, on this page is a discussion about how Reader and Writer leverage InputStream and OutputStream, yet when you click the link to Reader or Writer found on this page:
http://download.oracle.com/javase/7/docs/api/java/io/Reader.html
http://download.oracle.com/javase/7/docs/api/java/io/Writer.html
You will see that Reader/Writer inherit directly from Object Class and not from Input/Output Stream, so something is amiss here.