soundasleep / iacleaner

Automatically exported from code.google.com/p/iacleaner
0 stars 0 forks source link

Add support for writing results to a Stream #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What new or enhanced feature are you proposing?
Currently the only way to clean a file is to retrieve the result through a
String, and writing this String to a file. There should be support for
writing to an InputStream/OutputStream.

What goal would this enhancement help you achieve?
Better performance and less memory usage.

Original issue reported on code.google.com by soundasleep on 4 Sep 2009 at 8:28

GoogleCodeExporter commented 9 years ago
Resolved in r108; however, it still returns a String result (because internally,
results are stored into a StringWriter). At the very least, the file is not 
stored in
memory twice now.

Original comment by soundasleep on 7 Sep 2009 at 9:47