You're viewing version 1.2.0 of default-streams-impl. The latest stable version of Clojure Core is 1.3.0.
1.2.0 Arrow_down_16x16

default-streams-impl

clojure.java.io

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source clojure/java/io.clj:158 top

(def default-streams-impl
  {:make-reader (fn [x opts] (make-reader (make-input-stream x opts) opts))
   :make-writer (fn [x opts] (make-writer (make-output-stream x opts) opts))
   :make-input-stream (fn [x opts]
                        (throw (IllegalArgumentException.
                                (str "Cannot open <" (pr-str x) "> as an InputStream."))))
   :make-output-stream (fn [x opts]
                         (throw (IllegalArgumentException.
                                 (str "Cannot open <" (pr-str x) "> as an OutputStream."))))})
Vars in clojure.java.io/default-streams-impl:
Used in 0 other vars

Comments top

No comments for default-streams-impl. Log in to add a comment.