RFR: JDK-8167648: java.io.PrintWriter should have PrintWriter((String|File), Charset) constructors (original) (raw)
Patrick Reinhart patrick at reini.net
Wed Nov 23 13:09:22 UTC 2016
- Previous message: RFR: JDK-8167648: java.io.PrintWriter should have PrintWriter((String|File), Charset) constructors
- Next message: RFR: JDK-8167648: java.io.PrintWriter should have PrintWriter((String|File), Charset) constructors
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Added those new public constructors:
PrintWriter(OutputStream, Charset) PrintWriter(File, Charset) withAutoFlush()
Also added a new private constructor:
PrintWriter(OutputStream, Charset, boolean)
and rewired the OutputStream constructor calls to this private constructor.
Here's the webrev:
http://cr.openjdk.java.net/~reinhapa/reviews/8167648/webrev.00
-Patrick
- Previous message: RFR: JDK-8167648: java.io.PrintWriter should have PrintWriter((String|File), Charset) constructors
- Next message: RFR: JDK-8167648: java.io.PrintWriter should have PrintWriter((String|File), Charset) constructors
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]