Abstracts the getURLs and addURL functionality of URLClassLoader to a protocol.
Abstracts the getURLs and addURL functionality of URLClassLoader to a protocol.
(add-classpath-url cl url)
Attempts to add a url to the given ClassLoader, returning true on success. If the ClassLoader is not addable, does nothing and returns nil.
Attempts to add a url to the given ClassLoader, returning true on success. If the ClassLoader is not addable, does nothing and returns nil.
(addable-classpath? cl)
Returns true if the given ClassLoader provides add-claspath-url.
Returns true if the given ClassLoader provides add-claspath-url.
(all-classpath-urls)
(all-classpath-urls cl)
Walks up the parentage chain for a ClassLoader, concatenating any URLs it retrieves. If no ClassLoader is provided, RT/baseLoader is assumed.
Walks up the parentage chain for a ClassLoader, concatenating any URLs it retrieves. If no ClassLoader is provided, RT/baseLoader is assumed.
(classpath-urls cl)
Returns the URLs for the given ClassLoader, or nil if the ClassLoader is not readable.
Returns the URLs for the given ClassLoader, or nil if the ClassLoader is not readable.
(readable-classpath? cl)
Returns true if the given ClassLoader provides classpath-urls.
Returns true if the given ClassLoader provides classpath-urls.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close