clojure.java.io
(source)This file defines polymorphic I/O utility functions for Clojure.
For more info about this library see:
https://clojuredocs.org/clojure.corePublic Variable | Short Description |
---|---|
Coercions (clj) | Coerce between various 'resource-namish' things. |
IOFactory (clj) | Factory functions that create ready-to-use, buffered versions of the various Java I/O stream types, on top of anything that can be unequivocally converted to the requested kind of stream. |
as-file (clj) | Coerce argument to a file. |
as-relative-path (clj) | Take an as-file-able thing and return a string if it is a relative path, else IllegalArgumentException. |
as-url (clj) | Coerce argument to a URL. |
copy (clj) | Copies input to output. |
default-streams-impl (clj) | |
delete-file (clj) | Delete file f. |
file (clj) | Returns a java.io.File, passing each arg to as-file. |
input-stream (clj) | Attempts to coerce its argument into an open java.io.InputStream. |
make-input-stream (clj) | Creates a BufferedInputStream. |
make-output-stream (clj) | Creates a BufferedOutputStream. |
make-parents (clj) | Given the same arg(s) as for file, creates all parent directories of the file they represent. |
make-reader (clj) | Creates a BufferedReader. |
make-writer (clj) | Creates a BufferedWriter. |
output-stream (clj) | Attempts to coerce its argument into an open java.io.OutputStream. |
reader (clj) | Attempts to coerce its argument into an open java.io.Reader. |
resource (clj) | Returns the URL for a named resource. |
writer (clj) | Attempts to coerce its argument into an open java.io.Writer. |