Class ResourceFinder

  • Direct Known Subclasses:
    ResourceFinderImpl

    public abstract class ResourceFinder
    extends Object
    This class provides helper methods to look up resources that are part of OSGi bundles, but can't be exported. e.g., META-INF/mailcap file used by JavaMail. This class has been carefully coded to be loadable in non-OSGi environment. When it is used in such an environment, various getENtry methods return null.
    Author:
    Sanjeeb.Sahoo@Sun.COM
    • Constructor Detail

      • ResourceFinder

        public ResourceFinder()
    • Method Detail

      • initialize

        public static void initialize​(ResourceFinder singleton)
      • reset

        public static void reset()
      • findEntry

        public static URL findEntry​(String path)
      • findEntries

        public static List<URL> findEntries​(String path)