Class NetBeansModuleUtils

java.lang.Object
uno.anahata.ai.nb.util.NetBeansModuleUtils

public final class NetBeansModuleUtils extends Object
Utility class for introspecting modules and their classpaths. Primary used for RunningJVM.
Author:
priyanahata
  • Method Details

    • initRunningJVM

      public static void initRunningJVM()
    • getDependantModuleInfo

      public static org.openide.modules.ModuleInfo getDependantModuleInfo(org.openide.modules.ModuleInfo moduleInfo, org.openide.modules.Dependency d)
    • getAllModuleJarsUsingReflection

      public static List<File> getAllModuleJarsUsingReflection(org.openide.modules.ModuleInfo thisModule)
    • getModuleConfigFile

      public static org.openide.filesystems.FileObject getModuleConfigFile(org.openide.modules.ModuleInfo module)
      Gets the XML configuration file for a given module using the NetBeans APIs.
      Parameters:
      module - The module to inspect.
      Returns:
      The FileObject for the module's config file, or null if not found.