Liking cljdoc? Tell your friends :D

org.parkerici.multitool.cljcore

Java-only stuff

Java-only stuff
raw docstring

base64-decodeclj

(base64-decode b64-string)
source

base64-encodeclj

(base64-encode string)
source

cdclj

(cd dirname)

As in Unix shell cd

As in Unix shell cd
sourceraw docstring

content-filesclj

(content-files dir & regex)
source

copy-pathsclj

(copy-paths in-path out-path)

Copy in-path to out-path, in-path can be URI or filename, out-path should be a file

Copy in-path to out-path, in-path can be URI or filename, out-path should be a file
sourceraw docstring

date+clj

(date+ date days hours minutes)
source

date-formatclj

(date-format date format)
source

date-formatterclj

source

directory-filesclj

(directory-files d filterfn)
source

downloadclj

(download uri file)

Common use case for copy-paths

Common use case for copy-paths
sourceraw docstring

ensure-directoryclj

(ensure-directory d)

Create directory if it doesn't exist (recursively)

Create directory if it doesn't exist (recursively)
sourceraw docstring

errorclj

(error s & args)

Throw a generic Exception with formatted string

Throw a generic Exception with formatted string
sourceraw docstring

file-delete-recursivelyclj

(file-delete-recursively fname)

Delete a directory and its contents

Delete a directory and its contents
sourceraw docstring

file-delete-safeclj

(file-delete-safe fname)

Delete a file or directory safely (that is, no error if doesn't exist)

Delete a file or directory safely (that is, no error if doesn't exist)
sourceraw docstring

file-exists?clj

(file-exists? path)

True if file path exists

True if file `path` exists
sourceraw docstring

file-linesclj

(file-lines file)
source

file-lines-outclj

(file-lines-out file seq)
source

humanize-numberclj

(humanize-number n)
source

java-resource->stringclj

(java-resource->string resource)
source

join-pathclj

(join-path & args)

Joins the elements passed in into a path

Joins the elements passed in into a path
sourceraw docstring

local-fileclj

(local-file url)
(local-file url local-file)

Make a copy of contens of url in a local temp file or supplied filename

Make a copy of contens of url in a local temp file or supplied filename
sourceraw docstring

nowclj

(now)
source

open-urlclj

(open-url url)
source

parse-boolean-or-nilclj

(parse-boolean-or-nil value)
source

parse-long-or-nilclj

(parse-long-or-nil value)
source

pmap-keysclj

(pmap-keys f hashmap)

Map f over the kes of hashmap in parallel

Map f over the kes of hashmap in parallel
sourceraw docstring

pmap-valuesclj

(pmap-values f hashmap)

Map f over the values of hashmap in parallel

Map f over the values of hashmap in parallel
sourceraw docstring

process-file-linesclj

(process-file-lines f in)
(process-file-lines f in out)
source

read-charsclj

(read-chars reader n)
source

read-from-fileclj

(read-from-file file)

Read a form from a file

Read a form from a file
sourceraw docstring

read-tsv-fileclj

(read-tsv-file f)

Given a tsv file with a header line, returns seq where each elt is a map of field names to strings

Given a tsv file with a header line, returns seq where each elt is a map of field names to strings
sourceraw docstring

schpitclj

(schpit f content & options)

Like core/spit, but will do something sensible for lazy seqs.

Like core/spit, but will do something sensible for lazy seqs.
sourceraw docstring

schppitclj

(schppit f content & options)

Like schpit but will prettyprint.

Like schpit but will prettyprint.
sourceraw docstring

sh-errcheckedclj

(sh-errchecked & args)
source

split-pathclj

(split-path path)

Splits a path delimited with /

Splits a path delimited with /
sourceraw docstring

start-periodic-process!clj

(start-periodic-process! t f)

Start a background process to execute thunk f periodically (every t mssc)

Start a background process to execute thunk f periodically (every t mssc)
sourceraw docstring

string-search-allclj

(string-search-all string sub & [start])

Return a sequence of all positions where sub is found in string

Return a sequence of all positions where sub is found in string
sourceraw docstring

substitute-file-linesclj

(substitute-file-lines map)
source

temp-dir-pathclj

(temp-dir-path)
source

temp-fileclj

(temp-file)
source

temp-file-pathclj

(temp-file-path)
source

timing-fnclj

(timing-fn f)

Returns a fn that acts like f, but return value is (time result), time in msec]

Returns a fn that acts like f, but return value is (time result), time in msec]
sourceraw docstring

warnclj

(warn s & args)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close