Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8354724 Methods in java.io.Reader to read all characters and all lines
  3. JDK-8366923

Release Note: Support for reading all remaining characters from a Reader

XMLWordPrintable

    • generic
    • generic

      New methods have been added to the `java.io.Reader` class to read all remaining characters. The new method `Reader.readAllAsString()` reads all remaining characters into a `String`. The new method `Reader.readAllLines()` reads all remaining characters as lines of text represented as a `List<String>`. These methods are intended for simple cases where it is appropriate to read all remaining content.

            bpb Brian Burkhalter
            bpb Brian Burkhalter
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: