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 |
---|---|
void |
foundInDirectory(org.osgi.framework.Bundle bundle,
String baseDir,
URL url) |
void |
foundInJar(org.osgi.framework.Bundle bundle,
String jarName,
ZipEntry entry,
InputStream in) |
Set<URL> |
getResources() |
public BundleResourceFinder.DefaultResourceFinderCallback()
public BundleResourceFinder.DefaultResourceFinderCallback(Set<URL> resources)
public Set<URL> getResources()
public void foundInDirectory(org.osgi.framework.Bundle bundle, String baseDir, URL url) throws Exception
foundInDirectory
in interface BundleResourceFinder.ResourceFinderCallback
Exception
public void foundInJar(org.osgi.framework.Bundle bundle, String jarName, ZipEntry entry, InputStream in) throws Exception
foundInJar
in interface BundleResourceFinder.ResourceFinderCallback
Exception
Copyright © 2005–2014. All rights reserved.