Package ghidra.framework
Class ToolUtils
java.lang.Object
ghidra.framework.ToolUtils
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic voiddeleteTool(ToolTemplate template) static Set<ToolTemplate> Returns all tools found in the classpath that live under a root 'defaultTools' directory or a root 'extraTools' directorystatic StringReturns the user's personal tool chest directory pathstatic Set<ToolTemplate> Returns all tools found in the classpath that live under a root 'defaultTools' directorystatic Set<ToolTemplate> Returns all tools found in the classpath that live under a root 'extraTools' directorystatic FilegetToolFile(String name) static StringgetUniqueToolName(ToolTemplate template) static Filestatic Map<String, ToolTemplate> static ToolTemplatereadToolTemplate(File toolFile) static ToolTemplatereadToolTemplate(String resourceFileName) static voidremoveInvalidPlugins(ToolTemplate template) static voidrenameToolTemplate(ToolTemplate toolTemplate, String newName) static booleanwriteToolTemplate(ToolTemplate template)
-
Field Details
-
TOOL_EXTENSION
- See Also:
-
-
Method Details
-
getUserToolsDirectory
-
getDefaultApplicationTools
Returns all tools found in the classpath that live under a root 'defaultTools' directory- Returns:
- the default tools
-
getExtraApplicationTools
Returns all tools found in the classpath that live under a root 'extraTools' directory- Returns:
- the extra tools
-
getAllApplicationTools
Returns all tools found in the classpath that live under a root 'defaultTools' directory or a root 'extraTools' directory- Returns:
- the tools
-
loadUserTools
-
removeInvalidPlugins
-
deleteTool
-
renameToolTemplate
-
writeToolTemplate
-
readToolTemplate
-
readToolTemplate
-
getUniqueToolName
-
getToolFile
-
getApplicationToolDirPath
Returns the user's personal tool chest directory path- Returns:
- the path
-