clojure.java.io
A
Coerce argument to a file.
protocol-method([x])
Take an as-file-able thing and return a string if it is a relative path, else IllegalArgumentException.
function([x])
Coerce argument to a URL.
protocol-method([x])
C
D
- value
Delete file f. If silently is nil or false, raise an exception on failure, else return the value of silently.
function([f & [silently]])
F
Returns a java.io.File, passing each arg to as-file. Multiple-arg versions treat the first argument as parent and su...
function([arg] [parent child] [parent child & more])
I
Factory functions that create ready-to-use, buffered versions of the various Java I/O stream types, on top of anythin...
valueAttempts to coerce its argument into an open java.io.InputStream. Default implementations always return a java.io.Buf...
function([x & opts])
M
Creates a BufferedInputStream. See also IOFactory docs.
protocol-method([x opts])
Creates a BufferedOutputStream. See also IOFactory docs.
protocol-method([x opts])
Given the same arg(s) as for file, creates all parent directories of the file they represent.
function([f & more])
Creates a BufferedReader. See also IOFactory docs.
protocol-method([x opts])
Creates a BufferedWriter. See also IOFactory docs.
protocol-method([x opts])
O
Attempts to coerce its argument into an open java.io.OutputStream. Default implementations always return a java.io.Bu...
function([x & opts])
R
W
Attempts to coerce its argument into an open java.io.Writer. Default implementations always return a java.io.Buffered...
function([x & opts])