public class Handler extends BundleResourceHandler
URLStreamHandler the bundleresource protocol.
  • Constructor Details

  • Method Details

    • findBundleEntry

      protected BundleEntry findBundleEntry(URL url, Module module) throws IOException
      Description copied from class: BundleResourceHandler
      Finds the bundle entry for this protocal. This is handled differently for Bundle.gerResource() and Bundle.getEntry() because getResource uses the bundle classloader and getEntry only used the base bundle file.
      Specified by:
      findBundleEntry in class BundleResourceHandler
      Parameters:
      url - The URL to find the entry for.
      module - the module to find the entry for.
      Returns:
      the bundle entry
      Throws:
      IOException