File Operations
39- value
clojure.java.shell
- value
clojure.java.shell
Coerce between various 'resource-namish' things.
valueclojure.java.io
Factory functions that create ready-to-use, buffered versions of the various Java I/O stream types, on top of anythin...
valueclojure.java.io
Coerce argument to a file.
protocol-methodclojure.java.io
Take an as-file-able thing and return a string if it is a relative path, else IllegalArgumentException.
functionclojure.java.io
Coerce argument to a URL.
protocol-methodclojure.java.io
Copies input to output. Returns nil or throws IOException. Input may be an InputStream, Reader, File, byte[], char[],...
functionclojure.java.io
- value
clojure.java.io
Delete file f. If silently is nil or false, raise an exception on failure, else return the value of silently.
functionclojure.java.io
Execute a command and on successful exit, return the captured output, else throw RuntimeException. Args are the same a...
functionclojure.java.process
Given a Process (the output of 'start'), return a reference that can be used to wait for process completion then retur...
functionclojure.java.process
Returns a java.io.File, passing each arg to as-file. Multiple-arg versions treat the first argument as parent and su...
functionclojure.java.io
A tree seq on java.io.Files
functionclojure.core
Coerce f to a file per clojure.java.io/file and return a ProcessBuilder.Redirect reading from the file. This can be pa...
functionclojure.java.process
Attempts to coerce its argument into an open java.io.InputStream. Default implementations always return a java.io.Buf...
functionclojure.java.io
- function
clojure.java.process
Returns the lines of text from rdr as a lazy sequence of strings. rdr must implement java.io.BufferedReader.
functionclojure.core
Creates a BufferedInputStream. See also IOFactory docs.
protocol-methodclojure.java.io
Creates a BufferedOutputStream. See also IOFactory docs.
protocol-methodclojure.java.io
Given the same arg(s) as for file, creates all parent directories of the file they represent.
functionclojure.java.io
Creates a BufferedReader. See also IOFactory docs.
protocol-methodclojure.java.io
Creates a BufferedWriter. See also IOFactory docs.
protocol-methodclojure.java.io
Attempts to coerce its argument into an open java.io.OutputStream. Default implementations always return a java.io.Bu...
functionclojure.java.io
Reads the next line from stream that is the current value of *in* .
functionclojure.core
Attempts to coerce its argument into an open java.io.Reader. Default implementations always return a java.io.Buffered...
functionclojure.java.io
Returns the URL for a named resource. Use the context class loader if no loader is specified.
functionclojure.java.io
Passes the given strings to Runtime.exec() to launch a sub-process. Options are :in may be given followed by ...
functionclojure.java.shell
Opens a reader on f and reads all its contents, returning a string. See clojure.java.io/reader for a complete list of ...
functionclojure.core
Opposite of slurp. Opens f with writer, writes content, then closes f. Options passed to clojure.java.io/writer.
functionclojure.core
Start an external command, defined in args. The process environment vars are inherited from the parent by default (u...
functionclojure.java.process
Given a process, return the stderr of the external process (an InputStream)
functionclojure.java.process
Given a process, return the stdin of the external process (an OutputStream)
functionclojure.java.process
Given a process, return the stdout of the external process (an InputStream)
functionclojure.java.process
Coerce f to a file per clojure.java.io/file and return a ProcessBuilder.Redirect writing to the file. Set ':append' in...
functionclojure.java.process
bindings => [name init ...] Evaluates body in a try expression with names bound to the values of the inits, and a f...
macroclojure.core
Sets the directory for use with sh, see sh for details.
macroclojure.java.shell
Sets the environment for use with sh, see sh for details.
macroclojure.java.shell
Attempts to coerce its argument into an open java.io.Writer. Default implementations always return a java.io.Buffered...
functionclojure.java.io