![JAR search and dependency download from the Maven repository](/logo.png)
org.jpac.snapshot.SnapshotJars Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of elbfisch.core Show documentation
Show all versions of elbfisch.core Show documentation
Open-source runtime system for component-based implementation of automation solutions with Java
The newest version!
/**
* PROJECT : ??>
* MODULE : ??>.java
* VERSION : $Revision$
* DATE : $Date$
* PURPOSE : ??>
* AUTHOR : Bernd Schuster, MSK Gesellschaft fuer Automatisierung mbH, Schenefeld
* REMARKS : -
* CHANGES : CH#n
* LOG : $Log$
*/
package org.jpac.snapshot;
import java.net.URL;
import java.net.URLClassLoader;
import java.util.ArrayList;
import java.util.Collections;
/**
*
* @author berndschuster
*/
public class SnapshotJars {
ArrayList libDir;
public SnapshotJars(){
libDir = new ArrayList<>();
ClassLoader cl = ClassLoader.getSystemClassLoader();
URL[] urls = ((URLClassLoader)cl).getURLs();
for(URL url: urls){
libDir.add(url.getFile());
}
Collections.sort(libDir);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy