boon/src/main/java/org/boon/Classpaths.java
public static List<Path> pathsFromClassLoader(ClassLoader loader, String resource) {
        final List<URL> resourceURLs = Classpaths.classpathResources( loader, resource );
        final List<Path> resourcePaths = Lists.list( Path.class );
        final Map<URI, FileSystem> pathToZipFileSystems = new HashMap<>(); //So you don't have to keep loading the same jar/zip file.
        for ( URL resourceURL : resourceURLs ) {

            if ( resourceURL.getProtocol().equals( "jar" ) ) {
                pathsFromJar( resourcePaths, resourceURL, pathToZipFileSystems );

            } else {
                pathsFromFileSystem( resourcePaths, resourceURL );
            }
        }
        return resourcePaths;
    }
public static List<Path> pathsFromClassLoader(ClassLoader loader, String resource) {
        final List<URL> resourceURLs = Classpaths.classpathResources( loader, resource );
        final List<Path> resourcePaths = Lists.list( Path.class );
        final Map<URI, FileSystem> pathToZipFileSystems = new HashMap<>(); //So you don't have to keep loading the same jar/zip file.
        for ( URL resourceURL : resourceURLs ) {

            if ( resourceURL.getProtocol().equals( "jar" ) ) {
                pathsFromJar( resourcePaths, resourceURL, pathToZipFileSystems );

            } else {
                pathsFromFileSystem( resourcePaths, resourceURL );
            }
        }
        return resourcePaths;
    }
Load the listFromClassLoader
@param loader
@param resource
@return