Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6985571

io - incorrect Reader links

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P4 P4
    • None
    • 6-pool
    • docs
    • 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.

            Unassigned Unassigned
            skannan Sowmya Kannan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: