Package ghidra.framework
Class ToolUtils
java.lang.Object
ghidra.framework.ToolUtils
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
deleteTool
(ToolTemplate template) static Set
<ToolTemplate> Returns all tools found in the classpath that live under a root 'defaultTools' directory or a root 'extraTools' directorystatic String
Returns 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 File
getToolFile
(String name) static String
getUniqueToolName
(ToolTemplate template) static File
static Map
<String, ToolTemplate> static ToolTemplate
readToolTemplate
(File toolFile) static ToolTemplate
readToolTemplate
(String resourceFileName) static void
removeInvalidPlugins
(ToolTemplate template) static void
renameToolTemplate
(ToolTemplate toolTemplate, String newName) static boolean
writeToolTemplate
(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
-