Package ghidra.util
Class GhidraJarBuilder
java.lang.Object
ghidra.util.GhidraJarBuilder
- All Implemented Interfaces:
GhidraLaunchable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidaddExcludedFileExtension(String excludedExtension) voidaddFileFilter(FileFilter filter) booleanvoidaddModuleToJar(ApplicationModule module) voidbuildJar(File outputFile, File extraBinDir, TaskMonitor monitor) voidbuildSrcZip(File outputFile, TaskMonitor monitor) booleanisModuleIncluded(String moduleName) voidlaunch(GhidraApplicationLayout layout, String[] args) Entry point for buildGhidraJar.bat.static voidvoidbooleanremoveModule(String name) voidsetExcludeHelp(boolean excludeHelp) voidsetMainClass(String mainClass)
-
Constructor Details
-
GhidraJarBuilder
public GhidraJarBuilder() -
GhidraJarBuilder
- Throws:
IOException
-
-
Method Details
-
getAllModules
-
getIncludedModules
-
removeAllProcessorModules
public void removeAllProcessorModules() -
getExcludedModules
-
getModule
-
isModuleIncluded
-
addAllModules
public void addAllModules() -
addModule
-
removeModule
-
addFileFilter
-
addExcludedFileExtension
-
addModuleToJar
-
setExcludeHelp
public void setExcludeHelp(boolean excludeHelp) -
setMainClass
-
buildJar
public void buildJar(File outputFile, File extraBinDir, TaskMonitor monitor) throws IOException, CancelledException - Throws:
IOExceptionCancelledException
-
buildSrcZip
public void buildSrcZip(File outputFile, TaskMonitor monitor) throws IOException, CancelledException - Throws:
IOExceptionCancelledException
-
main
- Throws:
IOException
-
launch
Entry point for buildGhidraJar.bat.- Specified by:
launchin interfaceGhidraLaunchable- Parameters:
layout- The application layout to use for the launch.args- The arguments passed through by theGhidraLauncher.- Throws:
IOException
-