Interface BundleResourceFinder.ResourceFinderCallback

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean foundInDirectory​(org.osgi.framework.Bundle bundle, java.lang.String baseDir, java.net.URL url)
      Resource found in a directory in a bundle.
      boolean foundInJar​(org.osgi.framework.Bundle bundle, java.lang.String jarName, java.util.zip.ZipEntry entry, java.io.InputStream in)
      Resource found in a jar file in a bundle.
    • Method Detail

      • foundInDirectory

        boolean foundInDirectory​(org.osgi.framework.Bundle bundle,
                                 java.lang.String baseDir,
                                 java.net.URL url)
                          throws java.lang.Exception
        Resource found in a directory in a bundle.
        Returns:
        true to continue scanning, false to abort scanning.
        Throws:
        java.lang.Exception
      • foundInJar

        boolean foundInJar​(org.osgi.framework.Bundle bundle,
                           java.lang.String jarName,
                           java.util.zip.ZipEntry entry,
                           java.io.InputStream in)
                    throws java.lang.Exception
        Resource found in a jar file in a bundle.
        Returns:
        true to continue scanning, false to abort scanning.
        Throws:
        java.lang.Exception