API for clojure.java.classpath - java.classpath 1.1.0-SNAPSHOT (in development)
Full namespace name: clojure.java.classpath
Overview
Project home page is https://github.com/clojure/java.classpath/
Utilities for dealing with the JVM's classpath
Protocols
URLClasspath
ProtocolKnown implementations: java.net.URLClassLoader
urls
functionUsage: (urls loader)
Returns a sequence of java.net.URL objects representing locations which this classloader will search for classes and resources.
Public Variables and Functions
classpath
functionUsage: (classpath classloader)
(classpath)
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.Source
classpath-directories
functionUsage: (classpath-directories)
Returns a sequence of File objects for the directories on classpath.Source
classpath-jarfiles
functionUsage: (classpath-jarfiles)
Returns a sequence of JarFile objects for the JAR files on classpath.Source
filenames-in-jar
functionUsage: (filenames-in-jar jar-file)
Returns a sequence of Strings naming the non-directory entries in the JAR file.Source
get-urls
functionUsage: (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.Source
jar-file?
functionUsage: (jar-file? f)
Returns true if file is a normal file with a .jar or .JAR extension.Source
loader-classpath
functionUsage: (loader-classpath loader)
Returns a sequence of File paths from a classloader.Source
system-classpath
functionUsage: (system-classpath)
Returns a sequence of File paths from the 'java.class.path' system property.Source
Copyright 2007-2023 by Rich Hickey and the various contributors
Logo & site design by Tom Hickey.
Clojure auto-documentation system by Tom Faulhaber.
Clojure auto-documentation system by Tom Faulhaber.
