Closed steveash closed 7 years ago
Greetings!
I've replaced the PrintStream
in the main output method with PrintWriter
and added a few helper methods to adapt Writer
, and OutputStream
. I've also added asString
which utilizes a StringWriter
to render a String.
Please have a look and let me know your thoughts.
Thank you for your interest in my project !
I would like to have a Util.print method that takes a Writer or PrintWriter. Also a simple way just to render a String seems reasonable.