diff options
author | Tom Faulhaber <git_net@infolace.com> | 2009-11-13 09:05:03 -0800 |
---|---|---|
committer | Tom Faulhaber <git_net@infolace.com> | 2009-11-13 09:05:03 -0800 |
commit | c9ed438f37efe12730efbd97da937e070de09678 (patch) | |
tree | 9c61991908b674758f15ea2fda0854269d6714ee | |
parent | 31e53a2714257cd82961feb83f438b65ef89e96c (diff) |
Updated documentation for commit 2ae8ff46d348522efe9f96cfd31f6e9b6018cfdc
-rw-r--r-- | api-index.json | 46 | ||||
-rw-r--r-- | duck-streams-api.html | 44 |
2 files changed, 45 insertions, 45 deletions
diff --git a/api-index.json b/api-index.json index e388e824..d272a9d5 100644 --- a/api-index.json +++ b/api-index.json @@ -106,7 +106,7 @@ "author":null, "doc":null}, {"source-url": - "http://github.com/richhickey/clojure-contrib/blob/386168c1b3c64f3402dbf7068f6626b55ac825ec/src/clojure/contrib/duck_streams.clj", + "http://github.com/richhickey/clojure-contrib/blob/2ae8ff46d348522efe9f96cfd31f6e9b6018cfdc/src/clojure/contrib/duck_streams.clj", "wiki-url": "http://richhickey.github.com/clojure-contrib/duck-streams-api.html", "name":"clojure.contrib.duck-streams", @@ -1309,7 +1309,7 @@ "To be used in macro definitions.\nHandles optional docstrings and attribute maps for a name to be defined\nin a list of macro arguments. If the first macro argument is a string,\nit is added as a docstring to name and removed from the macro argument\nlist. If afterwards the first macro argument is a map, its entries are\nadded to the name's metadata map and the map is removed from the\nmacro argument list. The return value is a vector containing the name\nwith its extended metadata map and the list of unprocessed macro\narguments.", "name":"name-with-attributes"}, {"source-url": - "http://github.com/richhickey/clojure-contrib/blob/386168c1b3c64f3402dbf7068f6626b55ac825ec/src/clojure/contrib/duck_streams.clj#L141", + "http://github.com/richhickey/clojure-contrib/blob/2ae8ff46d348522efe9f96cfd31f6e9b6018cfdc/src/clojure/contrib/duck_streams.clj#L144", "wiki-url": "http://richhickey.github.com/clojure-contrib//duck-streams-api.html#duck-streams/*append-to-writer*", "namespace":"clojure.contrib.duck-streams", @@ -1317,7 +1317,7 @@ "If true, writer and spit will open files in append mode.\nDefaults to false. Use append-writer or append-spit.", "name":"*append-to-writer*"}, {"source-url": - "http://github.com/richhickey/clojure-contrib/blob/386168c1b3c64f3402dbf7068f6626b55ac825ec/src/clojure/contrib/duck_streams.clj#L76", + "http://github.com/richhickey/clojure-contrib/blob/2ae8ff46d348522efe9f96cfd31f6e9b6018cfdc/src/clojure/contrib/duck_streams.clj#L76", "wiki-url": "http://richhickey.github.com/clojure-contrib//duck-streams-api.html#duck-streams/*buffer-size*", "namespace":"clojure.contrib.duck-streams", @@ -1325,14 +1325,14 @@ "Size, in bytes or characters, of the buffer used when\ncopying streams.", "name":"*buffer-size*"}, {"source-url": - "http://github.com/richhickey/clojure-contrib/blob/386168c1b3c64f3402dbf7068f6626b55ac825ec/src/clojure/contrib/duck_streams.clj#L81", + "http://github.com/richhickey/clojure-contrib/blob/2ae8ff46d348522efe9f96cfd31f6e9b6018cfdc/src/clojure/contrib/duck_streams.clj#L81", "wiki-url": "http://richhickey.github.com/clojure-contrib//duck-streams-api.html#duck-streams/*byte-array-type*", "namespace":"clojure.contrib.duck-streams", "doc":"Type object for a Java primitive byte array.", "name":"*byte-array-type*"}, {"source-url": - "http://github.com/richhickey/clojure-contrib/blob/386168c1b3c64f3402dbf7068f6626b55ac825ec/src/clojure/contrib/duck_streams.clj#L70", + "http://github.com/richhickey/clojure-contrib/blob/2ae8ff46d348522efe9f96cfd31f6e9b6018cfdc/src/clojure/contrib/duck_streams.clj#L70", "wiki-url": "http://richhickey.github.com/clojure-contrib//duck-streams-api.html#duck-streams/*default-encoding*", "namespace":"clojure.contrib.duck-streams", @@ -1340,7 +1340,7 @@ "Name of the default encoding to use when reading & writing.\nDefault is UTF-8.", "name":"*default-encoding*"}, {"source-url": - "http://github.com/richhickey/clojure-contrib/blob/386168c1b3c64f3402dbf7068f6626b55ac825ec/src/clojure/contrib/duck_streams.clj#L257", + "http://github.com/richhickey/clojure-contrib/blob/2ae8ff46d348522efe9f96cfd31f6e9b6018cfdc/src/clojure/contrib/duck_streams.clj#L263", "wiki-url": "http://richhickey.github.com/clojure-contrib//duck-streams-api.html#duck-streams/append-spit", "namespace":"clojure.contrib.duck-streams", @@ -1348,7 +1348,7 @@ "doc":"Like spit but appends to file.", "name":"append-spit"}, {"source-url": - "http://github.com/richhickey/clojure-contrib/blob/386168c1b3c64f3402dbf7068f6626b55ac825ec/src/clojure/contrib/duck_streams.clj#L209", + "http://github.com/richhickey/clojure-contrib/blob/2ae8ff46d348522efe9f96cfd31f6e9b6018cfdc/src/clojure/contrib/duck_streams.clj#L215", "wiki-url": "http://richhickey.github.com/clojure-contrib//duck-streams-api.html#duck-streams/append-writer", "namespace":"clojure.contrib.duck-streams", @@ -1357,7 +1357,7 @@ "Like writer but opens file for appending. Does not work on streams\nthat are already open.", "name":"append-writer"}, {"source-url": - "http://github.com/richhickey/clojure-contrib/blob/386168c1b3c64f3402dbf7068f6626b55ac825ec/src/clojure/contrib/duck_streams.clj#L293", + "http://github.com/richhickey/clojure-contrib/blob/2ae8ff46d348522efe9f96cfd31f6e9b6018cfdc/src/clojure/contrib/duck_streams.clj#L299", "wiki-url": "http://richhickey.github.com/clojure-contrib//duck-streams-api.html#duck-streams/copy", "namespace":"clojure.contrib.duck-streams", @@ -1366,7 +1366,7 @@ "Copies input to output. Returns nil.\nInput may be an InputStream, Reader, File, byte[], or String.\nOutput may be an OutputStream, Writer, or File.\n\nDoes not close any streams except those it opens itself \n(on a File).\n\nWriting a File fails if the parent directory does not exist.", "name":"copy"}, {"source-url": - "http://github.com/richhickey/clojure-contrib/blob/386168c1b3c64f3402dbf7068f6626b55ac825ec/src/clojure/contrib/duck_streams.clj#L86", + "http://github.com/richhickey/clojure-contrib/blob/2ae8ff46d348522efe9f96cfd31f6e9b6018cfdc/src/clojure/contrib/duck_streams.clj#L86", "wiki-url": "http://richhickey.github.com/clojure-contrib//duck-streams-api.html#duck-streams/file-str", "namespace":"clojure.contrib.duck-streams", @@ -1375,7 +1375,7 @@ "Concatenates args as strings and returns a java.io.File. Replaces\nall / and \\ with File/separatorChar. Replaces ~ at the start of\nthe path with the user.home system property.", "name":"file-str"}, {"source-url": - "http://github.com/richhickey/clojure-contrib/blob/386168c1b3c64f3402dbf7068f6626b55ac825ec/src/clojure/contrib/duck_streams.clj#L380", + "http://github.com/richhickey/clojure-contrib/blob/2ae8ff46d348522efe9f96cfd31f6e9b6018cfdc/src/clojure/contrib/duck_streams.clj#L386", "wiki-url": "http://richhickey.github.com/clojure-contrib//duck-streams-api.html#duck-streams/make-parents", "namespace":"clojure.contrib.duck-streams", @@ -1383,7 +1383,7 @@ "doc":"Creates all parent directories of file.", "name":"make-parents"}, {"source-url": - "http://github.com/richhickey/clojure-contrib/blob/386168c1b3c64f3402dbf7068f6626b55ac825ec/src/clojure/contrib/duck_streams.clj#L263", + "http://github.com/richhickey/clojure-contrib/blob/2ae8ff46d348522efe9f96cfd31f6e9b6018cfdc/src/clojure/contrib/duck_streams.clj#L269", "wiki-url": "http://richhickey.github.com/clojure-contrib//duck-streams-api.html#duck-streams/pwd", "namespace":"clojure.contrib.duck-streams", @@ -1392,7 +1392,7 @@ "Returns current working directory as a String. (Like UNIX 'pwd'.)\nNote: In Java, you cannot change the current working directory.", "name":"pwd"}, {"source-url": - "http://github.com/richhickey/clojure-contrib/blob/386168c1b3c64f3402dbf7068f6626b55ac825ec/src/clojure/contrib/duck_streams.clj#L228", + "http://github.com/richhickey/clojure-contrib/blob/2ae8ff46d348522efe9f96cfd31f6e9b6018cfdc/src/clojure/contrib/duck_streams.clj#L234", "wiki-url": "http://richhickey.github.com/clojure-contrib//duck-streams-api.html#duck-streams/read-lines", "namespace":"clojure.contrib.duck-streams", @@ -1401,16 +1401,16 @@ "Like clojure.core/line-seq but opens f with reader. Automatically\ncloses the reader AFTER YOU CONSUME THE ENTIRE SEQUENCE.", "name":"read-lines"}, {"source-url": - "http://github.com/richhickey/clojure-contrib/blob/386168c1b3c64f3402dbf7068f6626b55ac825ec/src/clojure/contrib/duck_streams.clj#L100", + "http://github.com/richhickey/clojure-contrib/blob/2ae8ff46d348522efe9f96cfd31f6e9b6018cfdc/src/clojure/contrib/duck_streams.clj#L100", "wiki-url": "http://richhickey.github.com/clojure-contrib//duck-streams-api.html#duck-streams/reader", "namespace":"clojure.contrib.duck-streams", "arglists":[["x"]], "doc": - "Attempts to coerce its argument into an open\njava.io.BufferedReader. Argument may be an instance of Reader,\nBufferedReader, InputStream, File, URI, URL, or String.\n\nIf argument is a String, it tries to resolve it first as a URI, then\nas a local file name. URIs with a 'file' protocol are converted to\nlocal file names. Uses *default-encoding* as the text encoding.\n\nShould be used inside with-open to ensure the Reader is properly\nclosed.", + "Attempts to coerce its argument into an open\njava.io.BufferedReader. Argument may be an instance of Reader,\nBufferedReader, InputStream, File, URI, URL, Socket, or String.\n\nIf argument is a String, it tries to resolve it first as a URI, then\nas a local file name. URIs with a 'file' protocol are converted to\nlocal file names. Uses *default-encoding* as the text encoding.\n\nShould be used inside with-open to ensure the Reader is properly\nclosed.", "name":"reader"}, {"source-url": - "http://github.com/richhickey/clojure-contrib/blob/386168c1b3c64f3402dbf7068f6626b55ac825ec/src/clojure/contrib/duck_streams.clj#L239", + "http://github.com/richhickey/clojure-contrib/blob/2ae8ff46d348522efe9f96cfd31f6e9b6018cfdc/src/clojure/contrib/duck_streams.clj#L245", "wiki-url": "http://richhickey.github.com/clojure-contrib//duck-streams-api.html#duck-streams/slurp*", "namespace":"clojure.contrib.duck-streams", @@ -1418,7 +1418,7 @@ "doc":"Like clojure.core/slurp but opens f with reader.", "name":"slurp*"}, {"source-url": - "http://github.com/richhickey/clojure-contrib/blob/386168c1b3c64f3402dbf7068f6626b55ac825ec/src/clojure/contrib/duck_streams.clj#L250", + "http://github.com/richhickey/clojure-contrib/blob/2ae8ff46d348522efe9f96cfd31f6e9b6018cfdc/src/clojure/contrib/duck_streams.clj#L256", "wiki-url": "http://richhickey.github.com/clojure-contrib//duck-streams-api.html#duck-streams/spit", "namespace":"clojure.contrib.duck-streams", @@ -1427,7 +1427,7 @@ "Opposite of slurp. Opens f with writer, writes content, then\ncloses f.", "name":"spit"}, {"source-url": - "http://github.com/richhickey/clojure-contrib/blob/386168c1b3c64f3402dbf7068f6626b55ac825ec/src/clojure/contrib/duck_streams.clj#L385", + "http://github.com/richhickey/clojure-contrib/blob/2ae8ff46d348522efe9f96cfd31f6e9b6018cfdc/src/clojure/contrib/duck_streams.clj#L391", "wiki-url": "http://richhickey.github.com/clojure-contrib//duck-streams-api.html#duck-streams/to-byte-array", "namespace":"clojure.contrib.duck-streams", @@ -1436,7 +1436,7 @@ "Converts argument into a Java byte array. Argument may be\na String, File, InputStream, or Reader. If the argument is already\na byte array, returns it.", "name":"to-byte-array"}, {"source-url": - "http://github.com/richhickey/clojure-contrib/blob/386168c1b3c64f3402dbf7068f6626b55ac825ec/src/clojure/contrib/duck_streams.clj#L286", + "http://github.com/richhickey/clojure-contrib/blob/2ae8ff46d348522efe9f96cfd31f6e9b6018cfdc/src/clojure/contrib/duck_streams.clj#L292", "wiki-url": "http://richhickey.github.com/clojure-contrib//duck-streams-api.html#duck-streams/with-in-reader", "namespace":"clojure.contrib.duck-streams", @@ -1445,7 +1445,7 @@ "Opens a PushbackReader on f, binds it to *in*, and evaluates body.", "name":"with-in-reader"}, {"source-url": - "http://github.com/richhickey/clojure-contrib/blob/386168c1b3c64f3402dbf7068f6626b55ac825ec/src/clojure/contrib/duck_streams.clj#L279", + "http://github.com/richhickey/clojure-contrib/blob/2ae8ff46d348522efe9f96cfd31f6e9b6018cfdc/src/clojure/contrib/duck_streams.clj#L285", "wiki-url": "http://richhickey.github.com/clojure-contrib//duck-streams-api.html#duck-streams/with-out-append-writer", "namespace":"clojure.contrib.duck-streams", @@ -1453,7 +1453,7 @@ "doc":"Like with-out-writer but appends to file.", "name":"with-out-append-writer"}, {"source-url": - "http://github.com/richhickey/clojure-contrib/blob/386168c1b3c64f3402dbf7068f6626b55ac825ec/src/clojure/contrib/duck_streams.clj#L271", + "http://github.com/richhickey/clojure-contrib/blob/2ae8ff46d348522efe9f96cfd31f6e9b6018cfdc/src/clojure/contrib/duck_streams.clj#L277", "wiki-url": "http://richhickey.github.com/clojure-contrib//duck-streams-api.html#duck-streams/with-out-writer", "namespace":"clojure.contrib.duck-streams", @@ -1462,7 +1462,7 @@ "Opens a writer on f, binds it to *out*, and evalutes body.\nAnything printed within body will be written to f.", "name":"with-out-writer"}, {"source-url": - "http://github.com/richhickey/clojure-contrib/blob/386168c1b3c64f3402dbf7068f6626b55ac825ec/src/clojure/contrib/duck_streams.clj#L217", + "http://github.com/richhickey/clojure-contrib/blob/2ae8ff46d348522efe9f96cfd31f6e9b6018cfdc/src/clojure/contrib/duck_streams.clj#L223", "wiki-url": "http://richhickey.github.com/clojure-contrib//duck-streams-api.html#duck-streams/write-lines", "namespace":"clojure.contrib.duck-streams", @@ -1471,13 +1471,13 @@ "Writes lines (a seq) to f, separated by newlines. f is opened with\nwriter, and automatically closed at the end of the sequence.", "name":"write-lines"}, {"source-url": - "http://github.com/richhickey/clojure-contrib/blob/386168c1b3c64f3402dbf7068f6626b55ac825ec/src/clojure/contrib/duck_streams.clj#L148", + "http://github.com/richhickey/clojure-contrib/blob/2ae8ff46d348522efe9f96cfd31f6e9b6018cfdc/src/clojure/contrib/duck_streams.clj#L151", "wiki-url": "http://richhickey.github.com/clojure-contrib//duck-streams-api.html#duck-streams/writer", "namespace":"clojure.contrib.duck-streams", "arglists":[["x"]], "doc": - "Attempts to coerce its argument into an open java.io.PrintWriter\nwrapped around a java.io.BufferedWriter. Argument may be an\ninstance of Writer, PrintWriter, BufferedWriter, OutputStream, File,\nURI, URL, or String.\n\nIf argument is a String, it tries to resolve it first as a URI, then\nas a local file name. URIs with a 'file' protocol are converted to\nlocal file names.\n\nShould be used inside with-open to ensure the Writer is properly\nclosed.", + "Attempts to coerce its argument into an open java.io.PrintWriter\nwrapped around a java.io.BufferedWriter. Argument may be an\ninstance of Writer, PrintWriter, BufferedWriter, OutputStream, File,\nURI, URL, Socket, or String.\n\nIf argument is a String, it tries to resolve it first as a URI, then\nas a local file name. URIs with a 'file' protocol are converted to\nlocal file names.\n\nShould be used inside with-open to ensure the Writer is properly\nclosed.", "name":"writer"}, {"source-url": "http://github.com/richhickey/clojure-contrib/blob/4f2c7bb5cf6828eb710fd18b603828ab295d0fa5/src/clojure/contrib/error_kit.clj#L150", diff --git a/duck-streams-api.html b/duck-streams-api.html index cb929d41..80ff555e 100644 --- a/duck-streams-api.html +++ b/duck-streams-api.html @@ -120,7 +120,7 @@ or "just-give-me-a-stream", but ducks are funnier.</pre> <pre id="var-usage"></pre> <pre id="var-docstr">If true, writer and spit will open files in append mode. Defaults to false. Use append-writer or append-spit.</pre> - <a href="http://github.com/richhickey/clojure-contrib/blob/386168c1b3c64f3402dbf7068f6626b55ac825ec/src/clojure/contrib/duck_streams.clj#L141" id="var-source">Source</a> + <a href="http://github.com/richhickey/clojure-contrib/blob/2ae8ff46d348522efe9f96cfd31f6e9b6018cfdc/src/clojure/contrib/duck_streams.clj#L144" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -129,7 +129,7 @@ Defaults to false. Use append-writer or append-spit.</pre> <pre id="var-usage"></pre> <pre id="var-docstr">Size, in bytes or characters, of the buffer used when copying streams.</pre> - <a href="http://github.com/richhickey/clojure-contrib/blob/386168c1b3c64f3402dbf7068f6626b55ac825ec/src/clojure/contrib/duck_streams.clj#L76" id="var-source">Source</a> + <a href="http://github.com/richhickey/clojure-contrib/blob/2ae8ff46d348522efe9f96cfd31f6e9b6018cfdc/src/clojure/contrib/duck_streams.clj#L76" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -137,7 +137,7 @@ copying streams.</pre> <span id="var-type">var</span><br /> <pre id="var-usage"></pre> <pre id="var-docstr">Type object for a Java primitive byte array.</pre> - <a href="http://github.com/richhickey/clojure-contrib/blob/386168c1b3c64f3402dbf7068f6626b55ac825ec/src/clojure/contrib/duck_streams.clj#L81" id="var-source">Source</a> + <a href="http://github.com/richhickey/clojure-contrib/blob/2ae8ff46d348522efe9f96cfd31f6e9b6018cfdc/src/clojure/contrib/duck_streams.clj#L81" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -146,7 +146,7 @@ copying streams.</pre> <pre id="var-usage"></pre> <pre id="var-docstr">Name of the default encoding to use when reading & writing. Default is UTF-8.</pre> - <a href="http://github.com/richhickey/clojure-contrib/blob/386168c1b3c64f3402dbf7068f6626b55ac825ec/src/clojure/contrib/duck_streams.clj#L70" id="var-source">Source</a> + <a href="http://github.com/richhickey/clojure-contrib/blob/2ae8ff46d348522efe9f96cfd31f6e9b6018cfdc/src/clojure/contrib/duck_streams.clj#L70" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -155,7 +155,7 @@ Default is UTF-8.</pre> <pre id="var-usage">Usage: (append-spit f content) </pre> <pre id="var-docstr">Like spit but appends to file.</pre> - <a href="http://github.com/richhickey/clojure-contrib/blob/386168c1b3c64f3402dbf7068f6626b55ac825ec/src/clojure/contrib/duck_streams.clj#L257" id="var-source">Source</a> + <a href="http://github.com/richhickey/clojure-contrib/blob/2ae8ff46d348522efe9f96cfd31f6e9b6018cfdc/src/clojure/contrib/duck_streams.clj#L263" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -165,7 +165,7 @@ Default is UTF-8.</pre> </pre> <pre id="var-docstr">Like writer but opens file for appending. Does not work on streams that are already open.</pre> - <a href="http://github.com/richhickey/clojure-contrib/blob/386168c1b3c64f3402dbf7068f6626b55ac825ec/src/clojure/contrib/duck_streams.clj#L209" id="var-source">Source</a> + <a href="http://github.com/richhickey/clojure-contrib/blob/2ae8ff46d348522efe9f96cfd31f6e9b6018cfdc/src/clojure/contrib/duck_streams.clj#L215" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -181,7 +181,7 @@ Does not close any streams except those it opens itself (on a File). Writing a File fails if the parent directory does not exist.</pre> - <a href="http://github.com/richhickey/clojure-contrib/blob/386168c1b3c64f3402dbf7068f6626b55ac825ec/src/clojure/contrib/duck_streams.clj#L293" id="var-source">Source</a> + <a href="http://github.com/richhickey/clojure-contrib/blob/2ae8ff46d348522efe9f96cfd31f6e9b6018cfdc/src/clojure/contrib/duck_streams.clj#L299" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -192,7 +192,7 @@ Writing a File fails if the parent directory does not exist.</pre> <pre id="var-docstr">Concatenates args as strings and returns a java.io.File. Replaces all / and \ with File/separatorChar. Replaces ~ at the start of the path with the user.home system property.</pre> - <a href="http://github.com/richhickey/clojure-contrib/blob/386168c1b3c64f3402dbf7068f6626b55ac825ec/src/clojure/contrib/duck_streams.clj#L86" id="var-source">Source</a> + <a href="http://github.com/richhickey/clojure-contrib/blob/2ae8ff46d348522efe9f96cfd31f6e9b6018cfdc/src/clojure/contrib/duck_streams.clj#L86" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -201,7 +201,7 @@ the path with the user.home system property.</pre> <pre id="var-usage">Usage: (make-parents file) </pre> <pre id="var-docstr">Creates all parent directories of file.</pre> - <a href="http://github.com/richhickey/clojure-contrib/blob/386168c1b3c64f3402dbf7068f6626b55ac825ec/src/clojure/contrib/duck_streams.clj#L380" id="var-source">Source</a> + <a href="http://github.com/richhickey/clojure-contrib/blob/2ae8ff46d348522efe9f96cfd31f6e9b6018cfdc/src/clojure/contrib/duck_streams.clj#L386" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -211,7 +211,7 @@ the path with the user.home system property.</pre> </pre> <pre id="var-docstr">Returns current working directory as a String. (Like UNIX 'pwd'.) Note: In Java, you cannot change the current working directory.</pre> - <a href="http://github.com/richhickey/clojure-contrib/blob/386168c1b3c64f3402dbf7068f6626b55ac825ec/src/clojure/contrib/duck_streams.clj#L263" id="var-source">Source</a> + <a href="http://github.com/richhickey/clojure-contrib/blob/2ae8ff46d348522efe9f96cfd31f6e9b6018cfdc/src/clojure/contrib/duck_streams.clj#L269" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -221,7 +221,7 @@ Note: In Java, you cannot change the current working directory.</pre> </pre> <pre id="var-docstr">Like clojure.core/line-seq but opens f with reader. Automatically closes the reader AFTER YOU CONSUME THE ENTIRE SEQUENCE.</pre> - <a href="http://github.com/richhickey/clojure-contrib/blob/386168c1b3c64f3402dbf7068f6626b55ac825ec/src/clojure/contrib/duck_streams.clj#L228" id="var-source">Source</a> + <a href="http://github.com/richhickey/clojure-contrib/blob/2ae8ff46d348522efe9f96cfd31f6e9b6018cfdc/src/clojure/contrib/duck_streams.clj#L234" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -231,7 +231,7 @@ closes the reader AFTER YOU CONSUME THE ENTIRE SEQUENCE.</pre> </pre> <pre id="var-docstr">Attempts to coerce its argument into an open java.io.BufferedReader. Argument may be an instance of Reader, -BufferedReader, InputStream, File, URI, URL, or String. +BufferedReader, InputStream, File, URI, URL, Socket, or String. If argument is a String, it tries to resolve it first as a URI, then as a local file name. URIs with a 'file' protocol are converted to @@ -239,7 +239,7 @@ local file names. Uses *default-encoding* as the text encoding. Should be used inside with-open to ensure the Reader is properly closed.</pre> - <a href="http://github.com/richhickey/clojure-contrib/blob/386168c1b3c64f3402dbf7068f6626b55ac825ec/src/clojure/contrib/duck_streams.clj#L100" id="var-source">Source</a> + <a href="http://github.com/richhickey/clojure-contrib/blob/2ae8ff46d348522efe9f96cfd31f6e9b6018cfdc/src/clojure/contrib/duck_streams.clj#L100" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -248,7 +248,7 @@ closed.</pre> <pre id="var-usage">Usage: (slurp* f) </pre> <pre id="var-docstr">Like clojure.core/slurp but opens f with reader.</pre> - <a href="http://github.com/richhickey/clojure-contrib/blob/386168c1b3c64f3402dbf7068f6626b55ac825ec/src/clojure/contrib/duck_streams.clj#L239" id="var-source">Source</a> + <a href="http://github.com/richhickey/clojure-contrib/blob/2ae8ff46d348522efe9f96cfd31f6e9b6018cfdc/src/clojure/contrib/duck_streams.clj#L245" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -258,7 +258,7 @@ closed.</pre> </pre> <pre id="var-docstr">Opposite of slurp. Opens f with writer, writes content, then closes f.</pre> - <a href="http://github.com/richhickey/clojure-contrib/blob/386168c1b3c64f3402dbf7068f6626b55ac825ec/src/clojure/contrib/duck_streams.clj#L250" id="var-source">Source</a> + <a href="http://github.com/richhickey/clojure-contrib/blob/2ae8ff46d348522efe9f96cfd31f6e9b6018cfdc/src/clojure/contrib/duck_streams.clj#L256" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -269,7 +269,7 @@ closes f.</pre> <pre id="var-docstr">Converts argument into a Java byte array. Argument may be a String, File, InputStream, or Reader. If the argument is already a byte array, returns it.</pre> - <a href="http://github.com/richhickey/clojure-contrib/blob/386168c1b3c64f3402dbf7068f6626b55ac825ec/src/clojure/contrib/duck_streams.clj#L385" id="var-source">Source</a> + <a href="http://github.com/richhickey/clojure-contrib/blob/2ae8ff46d348522efe9f96cfd31f6e9b6018cfdc/src/clojure/contrib/duck_streams.clj#L391" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -278,7 +278,7 @@ a byte array, returns it.</pre> <pre id="var-usage">Usage: (with-in-reader f & body) </pre> <pre id="var-docstr">Opens a PushbackReader on f, binds it to *in*, and evaluates body.</pre> - <a href="http://github.com/richhickey/clojure-contrib/blob/386168c1b3c64f3402dbf7068f6626b55ac825ec/src/clojure/contrib/duck_streams.clj#L286" id="var-source">Source</a> + <a href="http://github.com/richhickey/clojure-contrib/blob/2ae8ff46d348522efe9f96cfd31f6e9b6018cfdc/src/clojure/contrib/duck_streams.clj#L292" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -287,7 +287,7 @@ a byte array, returns it.</pre> <pre id="var-usage">Usage: (with-out-append-writer f & body) </pre> <pre id="var-docstr">Like with-out-writer but appends to file.</pre> - <a href="http://github.com/richhickey/clojure-contrib/blob/386168c1b3c64f3402dbf7068f6626b55ac825ec/src/clojure/contrib/duck_streams.clj#L279" id="var-source">Source</a> + <a href="http://github.com/richhickey/clojure-contrib/blob/2ae8ff46d348522efe9f96cfd31f6e9b6018cfdc/src/clojure/contrib/duck_streams.clj#L285" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -297,7 +297,7 @@ a byte array, returns it.</pre> </pre> <pre id="var-docstr">Opens a writer on f, binds it to *out*, and evalutes body. Anything printed within body will be written to f.</pre> - <a href="http://github.com/richhickey/clojure-contrib/blob/386168c1b3c64f3402dbf7068f6626b55ac825ec/src/clojure/contrib/duck_streams.clj#L271" id="var-source">Source</a> + <a href="http://github.com/richhickey/clojure-contrib/blob/2ae8ff46d348522efe9f96cfd31f6e9b6018cfdc/src/clojure/contrib/duck_streams.clj#L277" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -307,7 +307,7 @@ Anything printed within body will be written to f.</pre> </pre> <pre id="var-docstr">Writes lines (a seq) to f, separated by newlines. f is opened with writer, and automatically closed at the end of the sequence.</pre> - <a href="http://github.com/richhickey/clojure-contrib/blob/386168c1b3c64f3402dbf7068f6626b55ac825ec/src/clojure/contrib/duck_streams.clj#L217" id="var-source">Source</a> + <a href="http://github.com/richhickey/clojure-contrib/blob/2ae8ff46d348522efe9f96cfd31f6e9b6018cfdc/src/clojure/contrib/duck_streams.clj#L223" id="var-source">Source</a> </div><div id="var-entry"> <br /> <hr /> @@ -318,7 +318,7 @@ writer, and automatically closed at the end of the sequence.</pre> <pre id="var-docstr">Attempts to coerce its argument into an open java.io.PrintWriter wrapped around a java.io.BufferedWriter. Argument may be an instance of Writer, PrintWriter, BufferedWriter, OutputStream, File, -URI, URL, or String. +URI, URL, Socket, or String. If argument is a String, it tries to resolve it first as a URI, then as a local file name. URIs with a 'file' protocol are converted to @@ -326,7 +326,7 @@ local file names. Should be used inside with-open to ensure the Writer is properly closed.</pre> - <a href="http://github.com/richhickey/clojure-contrib/blob/386168c1b3c64f3402dbf7068f6626b55ac825ec/src/clojure/contrib/duck_streams.clj#L148" id="var-source">Source</a> + <a href="http://github.com/richhickey/clojure-contrib/blob/2ae8ff46d348522efe9f96cfd31f6e9b6018cfdc/src/clojure/contrib/duck_streams.clj#L151" id="var-source">Source</a> </div> |