RFR (JDK11/NIO) 8201276: (fs) Add methods to Files for reading/writing a string from/to a file
Jonas Konrad
me at yawk.at
Mon Apr 30 06:20:08 UTC 2018
Shouldn't write also default to UTF_8 (not defaultCharset), for
consistency with the lines-based write method and for symmetry with read?
- Jonas
On 2018-04-27 06:50, Joe Wang wrote:
> Hi,
>
> We're looking into adding methods to Files to read a file into a
> String/write a String to a file. Below is the current proposal. Please
> review.
>
> JBS: https://bugs.openjdk.java.net/browse/JDK-8201276
>
> webrev: http://cr.openjdk.java.net/~joehw/jdk11/8201276/webrev/
>
> specdiff:
> http://cr.openjdk.java.net/~joehw/jdk11/8201276/specdiff/java/nio/file/Files.html
>
>
>
> Thanks,
> Joe
More information about the nio-dev
mailing list