1.2.0 permalink Arrow_down_16x16
  • (writer x)
Attempts to coerce its argument into an open java.io.Writer.
The default implementations of this protocol always return a

Default implementations are provided for Writer, BufferedWriter,
OutputStream, File, URI, URL, Socket, and String.

If the argument is a String, it tries to resolve it first as a URI, then
as a local file name. URIs with a 'file' protocol are converted to
local file names.

Should be used inside with-open to ensure the Writer is properly

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Comments top

No comments for writer. Log in to add a comment.