Class NetBeansModuleUtils
java.lang.Object
uno.anahata.ai.nb.util.NetBeansModuleUtils
Utility class for introspecting modules and their classpaths. Primary used for RunningJVM.
- Author:
- priyanahata
-
Method Summary
Modifier and TypeMethodDescriptiongetAllModuleJarsUsingReflection(org.openide.modules.ModuleInfo thisModule) static org.openide.modules.ModuleInfogetDependantModuleInfo(org.openide.modules.ModuleInfo moduleInfo, org.openide.modules.Dependency d) static org.openide.filesystems.FileObjectgetModuleConfigFile(org.openide.modules.ModuleInfo module) Gets the XML configuration file for a given module using the NetBeans APIs.static void
-
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
-
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.
-
