ClojureDocs

Nav

Namespaces

Clojure/Conj 2026 — Charlotte, NC — Sept 30 - Oct 2 Learn More & Get Tickets →

copy

clojure.java.io

Available since 1.2 (source)
  • (copy input output & opts)
Copies input to output. Returns nil or throws IOException.
Input may be an InputStream, Reader, File, byte[], char[], or String.
Output may be an OutputStream, Writer, or File.
 Options are key/value pairs and may be one of
 :buffer-size buffer size to use, default is 1024.
 :encoding encoding to use if converting between
 byte and char streams. 
 Does not close any streams except those it opens itself 
(on a File).
© Rich Hickey. All rights reserved. Eclipse Public License 1.0

AltStyle によって変換されたページ (->オリジナル) /