Liking cljdoc? Tell your friends :D

e85th.commons.util


add-shutdown-hookclj

(add-shutdown-hook f)

Adds a shutdown hook. f is a no arg function.

Adds a shutdown hook. f is a no arg function.
sourceraw docstring

as-collcljdeprecated

source

as-vectorcljdeprecated

source

build-propertiesclj

(build-properties group-id artifact-id)

Returns the build properties created by lein.

Returns the build properties created by lein.
sourceraw docstring

build-properties-with-headerclj

(build-properties-with-header group-id artifact-id)
source

build-versionclj

(build-version group-id artifact-id)

Answers with the current version from pom.properties

Answers with the current version from pom.properties
sourceraw docstring

bytes->base64-strclj

(bytes->base64-str bb)

Takes an array of bytes and returns the base64 encoded string

Takes an array of bytes and returns the base64 encoded string
sourceraw docstring

class-exists?clj

(class-exists? class-name)
source

coerce-intcljdeprecated

(coerce-int s)
(coerce-int default-value s)
source

conform-mapcljdeprecated

source

current-process-idclj

(current-process-id)

Returns a string or throws an exception Not safe to use according to javadoc

Returns a string or throws an exception Not safe to use according to javadoc
sourceraw docstring

deep-mergecljdeprecated

source

development?clj

source

dissoc-incljdeprecated

source

elide-pathscljdeprecated

source

elide-valuescljdeprecated

source

elidedcljdeprecated

source

environment-infoclj

source

exitclj

(exit status msg)

Prints a message and exits

Prints a message and exits
sourceraw docstring

group-by+cljdeprecated

source

hostnameclj

(hostname)

Answers with the host name for the current machine.

Answers with the host name for the current machine.
sourceraw docstring

init-loggingclj

(init-logging log-file)
source

intersect-withcljdeprecated

source

key=cljdeprecated

source

known-env?clj

(known-env? env)

env is a nilable keyword

env is a nilable keyword
sourceraw docstring

known-envsclj

(known-envs)
(known-envs as-str?)
source

log-file-with-suffixclj

(log-file-with-suffix log-file suffix)

log-file is a string that ends in .log. Adds the suffix before the .log if there is a suffix.

log-file is a string that ends in .log.  Adds the suffix before the
.log if there is a suffix.
sourceraw docstring

log-throwableclj

(log-throwable ex)
(log-throwable ex uuid)
source

normalize-envclj

(normalize-env env)

env is a string and returns a nilable keyword.

env is a string and returns a nilable keyword.
sourceraw docstring

not-blank?cljdeprecated

source

parse-boolcljdeprecated

source

parse-doublecljdeprecated

source

parse-floatcljdeprecated

source

parse-intcljdeprecated

source

parse-longcljdeprecated

source

periodicallyclj

(periodically thread-name period f)

Starts a new user thread and every period ms calls f. f is a no arg function. Returns the thread that is started. Call Thread/interupt to have the thread terminated when it is sleeping. f may wish to check Thread/interrupted and throw an InterruptedException when heavy processing is anticipated.

Starts a new user thread and every period ms calls f.
f is a no arg function. Returns the thread that is started.
Call Thread/interupt to have the thread terminated when it is
sleeping. f may wish to check Thread/interrupted and throw
an InterruptedException when heavy processing is anticipated.
sourceraw docstring

production?clj

(production? env-name)
source

rand-sleepclj

(rand-sleep min-ms additional-max-ms)
source

secure-random-hexclj

(secure-random-hex n)

generates a secure random hex string of size 2n

generates a secure random hex string of size 2n
sourceraw docstring

set-utc-tzclj

(set-utc-tz)

Run the app in UTC timezone. Do this early in app startup to properly deal with timezones and jdbc.

Run the app in UTC timezone. Do this early in app startup
to properly deal with timezones and jdbc.
sourceraw docstring

sleepclj

(sleep ms)
source

start-daemon-threadclj

source

start-threadclj

(start-thread daemon? thread-name f)
source

start-user-threadclj

source

url->hostclj

(url->host url)

Takes a url string and answers with the host.

Takes a url string and answers with the host.
sourceraw docstring

uuidcljdeprecated

source

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

× close