On 12/31/2012 05:46 PM, Brian Goetz wrote:
>> BTW, just noticed you can't get the lines of
>> a file as a Stream.
>
> We have this:
>
> interface Reader {
> Stream<String> lines()
> }
>
Having it on Reader instead of Files means that the user has to close
the stream himself.
Rémi