Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #35828

How do you close the stream with Files.write?

From Knute Johnson <nospam@rabbitbrush.frazmtn.com>
Newsgroups comp.lang.java.programmer
Subject How do you close the stream with Files.write?
Date 2016-10-19 15:55 -0500
Organization A noiseless patient Spider
Message-ID <nu8mjm$jhh$1@dont-email.me> (permalink)

Show all headers | View raw


java.nio.file.Files(Path path, Iterable<? extends CharSequence> lines, 
OpenOption... options) appears to have no way to close the underlying 
stream?

Thanks,

-- 

Knute Johnson

Back to comp.lang.java.programmer | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

How do you close the stream with Files.write? Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2016-10-19 15:55 -0500
  Re: How do you close the stream with Files.write? Eric Sosman <esosman@comcast-dot-net.invalid> - 2016-10-19 17:07 -0400
    Re: How do you close the stream with Files.write? Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2016-10-19 16:12 -0500

csiph-web