Class JDKModuleFinder

    • Method Detail

      • iterateModules

        public Iterator<String> iterateModules​(String baseName,
                                               boolean recursive)
        Description copied from interface: IterableModuleFinder
        Iterate the modules which can be located via this module finder.
        Specified by:
        iterateModules in interface IterableModuleFinder
        Parameters:
        baseName - the identifier to start with, or null to iterate all modules; ignored if this module loader does not have a concept of nested modules
        recursive - true to find recursively nested modules, false to only find immediately nested modules; ignored if this module finder does not have a concept of nested modules
        Returns:
        an iterator for the modules in this module finder