Liking cljdoc? Tell your friends :D

clojure.java.classpath

Utilities for dealing with the JVM's classpath

Utilities for dealing with the JVM's classpath
raw docstring

classpathclj

(classpath)
(classpath classloader)

Returns a sequence of File objects of the elements on the classpath. Defaults to searching for instances of java.net.URLClassLoader in the classloader hierarchy above clojure.lang.RT/baseLoader or the given classloader. If no URLClassloader can be found, as on Java 9, falls back to the 'java.class'path' system property.

Returns a sequence of File objects of the elements on the
classpath. Defaults to searching for instances of
java.net.URLClassLoader in the classloader hierarchy above
clojure.lang.RT/baseLoader or the given classloader. If no
URLClassloader can be found, as on Java 9, falls back to the
'java.class'path' system property.
sourceraw docstring

classpath-directoriesclj

(classpath-directories)

Returns a sequence of File objects for the directories on classpath.

Returns a sequence of File objects for the directories on classpath.
sourceraw docstring

classpath-jarfilesclj

(classpath-jarfiles)

Returns a sequence of JarFile objects for the JAR files on classpath.

Returns a sequence of JarFile objects for the JAR files on classpath.
sourceraw docstring

filenames-in-jarclj

(filenames-in-jar jar-file)

Returns a sequence of Strings naming the non-directory entries in the JAR file.

Returns a sequence of Strings naming the non-directory entries in
the JAR file.
sourceraw docstring

get-urlsclj

(get-urls loader)

Returns a sequence of java.net.URL objects used by this classloader, or nil if the classloader does not sastify the URLClasspath protocol.

Returns a sequence of java.net.URL objects used by this
classloader, or nil if the classloader does not sastify the
URLClasspath protocol.
sourceraw docstring

jar-file?clj

(jar-file? f)

Returns true if file is a normal file with a .jar or .JAR extension.

Returns true if file is a normal file with a .jar or .JAR extension.
sourceraw docstring

loader-classpathclj

(loader-classpath loader)

Returns a sequence of File paths from a classloader.

Returns a sequence of File paths from a classloader.
sourceraw docstring

system-classpathclj

(system-classpath)

Returns a sequence of File paths from the 'java.class.path' system property.

Returns a sequence of File paths from the 'java.class.path' system
property.
sourceraw docstring

URLClasspathcljprotocol

urlsclj

(urls loader)

Returns a sequence of java.net.URL objects representing locations which this classloader will search for classes and resources.

Returns a sequence of java.net.URL objects representing locations
which this classloader will search for classes and resources.
source

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

× close