Package ghidra.formats.gfilesystem
Interface FileSystemProbeConflictResolver
public interface FileSystemProbeConflictResolver
A callback interface used to choose which filesystem implementation to use when
multiple filesystem types indicate that they can open a container file.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final FileSystemProbeConflictResolverConflict handler that chooses the first filesystem in the list.static final FileSystemProbeConflictResolverConflict handler that allows the user to pick the filesystem to use from a GUI list. -
Method Summary
Modifier and TypeMethodDescriptionchooseFSIR(List<FileSystemInfoRec> factories) This method should be provided by the actual strategy implementation.default FileSystemInfoRecresolveFSIR(List<FileSystemInfoRec> factories) Picks a singleFileSystemInfoRecto use when mounting a filesystem.
-
Field Details
-
CHOOSEFIRST
Conflict handler that chooses the first filesystem in the list. -
GUI_PICKER
Conflict handler that allows the user to pick the filesystem to use from a GUI list.
-
-
Method Details
-
resolveFSIR
Picks a singleFileSystemInfoRecto use when mounting a filesystem.- Parameters:
factories- aListofFileSystemInfoRecs.- Returns:
- the chosen FSIR, or null
-
chooseFSIR
This method should be provided by the actual strategy implementation.This method will only be called if the list contains more than a single item.
- Parameters:
factories-ListofFileSystemInfoRec, always more than 1 element.- Returns:
- the chosen FSIR, or null
-