public static class BundleResourceFinder.DefaultResourceFinderCallback extends Object implements BundleResourceFinder.ResourceFinderCallback
| Constructor and Description |
|---|
BundleResourceFinder.DefaultResourceFinderCallback() |
BundleResourceFinder.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 BundleResourceFinder.DefaultResourceFinderCallback()
public boolean foundInDirectory(org.osgi.framework.Bundle bundle,
String baseDir,
URL url)
throws Exception
BundleResourceFinder.ResourceFinderCallbackfoundInDirectory in interface BundleResourceFinder.ResourceFinderCallbackExceptionpublic boolean foundInJar(org.osgi.framework.Bundle bundle,
String jarName,
ZipEntry entry,
InputStream in)
throws Exception
BundleResourceFinder.ResourceFinderCallbackfoundInJar in interface BundleResourceFinder.ResourceFinderCallbackExceptionCopyright © 2005-2014 The Apache Software Foundation. All Rights Reserved.