Liking cljdoc? Tell your friends :D

io.aviso.writer

The StringWriter protocol is used as the target of any written output.

The StringWriter protocol is used as the target of any written output.
raw docstring

eolclj

End-of-line terminator, platform specific.

End-of-line terminator, platform specific.
sourceraw docstring

into-stringclj

(into-string f & params)

Creates a StringBuilder and passes that as the first parameter to the function, along with the other parameters.

Returns the value of the StringBuilder after invoking the function.

Creates a `StringBuilder` and passes that as the first parameter to the function, along with the other parameters.

Returns the value of the `StringBuilder` after invoking the function.
sourceraw docstring

StringWritercljprotocol

May receive strings, which are printed, or stored.

StringWriter is extended onto java.lang.Appendable, a common interface implemented by both PrintWriter and StringBuilder (among many others).

May receive strings, which are printed, or stored.

`StringWriter` is extended onto `java.lang.Appendable`, a common interface implemented by both `PrintWriter` and `StringBuilder` (among
many others).

flush-writerclj

(flush-writer this)

Flushes output to the StringWriter, where supported.

Flushes output to the `StringWriter`, where supported.

write-stringclj

(write-string this string)

Writes the string to the StringWriter.

Writes the string to the `StringWriter`.
sourceraw docstring

writeclj

(write writer value)
(write writer value & values)

Constructs a string from the values (with no seperator) and writes the string to the StringWriter.

This is used to get around the fact that protocols do not support varadic parameters.

Constructs a string from the values (with no seperator) and writes the string to the StringWriter.

This is used to get around the fact that protocols do not support varadic parameters.
sourceraw docstring

writefclj

(writef writer fmt & values)

Writes formatted data.

Writes formatted data.
sourceraw docstring

writelnclj

(writeln writer)
(writeln writer & values)

Constructs a string from the values (with no seperator) and writes the string to the StringWriter, followed by an end-of-line terminator, then flushes the writer.

Constructs a string from the values (with no seperator) and writes the string to the `StringWriter`,
followed by an end-of-line terminator, then flushes the writer.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close