public class ClassPathUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static List<URL> |
findResources(Iterable<org.osgi.framework.Bundle> bundles,
String path,
String pattern,
boolean recurse) |
static Set<org.osgi.framework.Bundle> |
getBundlesInClassSpace(org.osgi.framework.Bundle bundle,
Set<org.osgi.framework.Bundle> bundleSet)
Gets a list of bundles that are imported or required by this bundle.
|
static URL[] |
getClassPathJars(org.osgi.framework.Bundle bundle)
Returns a list of urls to jars that composes the Bundle-ClassPath.
|
public static URL[] getClassPathJars(org.osgi.framework.Bundle bundle)
bundle - the bundle from which the class path should be takenpublic static Set<org.osgi.framework.Bundle> getBundlesInClassSpace(org.osgi.framework.Bundle bundle, Set<org.osgi.framework.Bundle> bundleSet)
bundle - the bundle for which to perform the lookupCopyright © 2006–2021 OPS4J - Open Participation Software for Java. All rights reserved.