public static class BundleResourceFinder.DefaultResourceFinderCallback extends Object implements BundleResourceFinder.ResourceFinderCallback
Constructor and Description |
---|
DefaultResourceFinderCallback() |
DefaultResourceFinderCallback(Set<URL> resources) |
Modifier and Type | Method and Description |
---|---|
boolean |
foundInDirectory(org.osgi.framework.Bundle bundle,
String baseDir,
URL url)
Resource found in a directory in a bundle.
|
boolean |
foundInJar(org.osgi.framework.Bundle bundle,
String jarName,
ZipEntry entry,
InputStream in)
Resource found in a jar file in a bundle.
|
Set<URL> |
getResources() |
public boolean foundInDirectory(org.osgi.framework.Bundle bundle, String baseDir, URL url) throws Exception
BundleResourceFinder.ResourceFinderCallback
foundInDirectory
in interface BundleResourceFinder.ResourceFinderCallback
Exception
public boolean foundInJar(org.osgi.framework.Bundle bundle, String jarName, ZipEntry entry, InputStream in) throws Exception
BundleResourceFinder.ResourceFinderCallback
foundInJar
in interface BundleResourceFinder.ResourceFinderCallback
Exception
Copyright © 2005–2021. All rights reserved.