On 4/15/25 5:30 AM, Ron Pressler wrote:
On 15 Apr 2025, at 10:51, fo...@univ-mlv.fr wrote:
>> +1 for readAllInputLines() and readInputString() on Process.
Wouldn’t it make more sense to add these to BufferedReader?
Yes. Process already has four Reader-based overloads:
- inputReader()
- inputReader(Charset)
- errorReader()
- errorReader(Charset)
We don't want to add all-lines and whole-string variations for each of these to
Process, which would require eight new methods. There would need to be only two on
BufferedReader, plus one could use them for reading text from other places (e.g., a
socket).
s'marks