API for clojure.java.classpath
-
by Stuart Sierra
Full namespace name:
clojure.java.classpath
Overview
Utilities for dealing with the JVM's classpath
Public Variables and Functions
classpath
function
Usage: (classpath classloader)
(classpath)
Returns a sequence of File objects of the elements on the classpath.
Source
classpath-directories
function
Usage: (classpath-directories)
Returns a sequence of File objects for the directories on classpath.
Source
classpath-jarfiles
function
Usage: (classpath-jarfiles)
Returns a sequence of JarFile objects for the JAR files on classpath.
Source
filenames-in-jar
function
Usage: (filenames-in-jar jar-file)
Returns a sequence of Strings naming the non-directory entries in
the JAR file.
Source
jar-file?
function
Usage: (jar-file? f)
Returns true if file is a normal file with a .jar or .JAR extension.
Source
loader-classpath
function
Usage: (loader-classpath loader)
Returns a sequence of File paths from a classloader.
Source
system-classpath
function
Usage: (system-classpath)
Returns a sequence of File paths from the 'java.class.path' system
property.
Source