Interface GFileSystemFactoryByteProvider<FSTYPE extends GFileSystem>

Type Parameters:
FSTYPE -
All Superinterfaces:
GFileSystemFactory<FSTYPE>
All Known Implementing Classes:
GFileSystemBaseFactory

public interface GFileSystemFactoryByteProvider<FSTYPE extends GFileSystem> extends GFileSystemFactory<FSTYPE>
A GFileSystemFactory interface for filesystem implementations that use a ByteProvider.

  • Method Details

    • create MODIFIED

      GFileSystem create(FSRLRoot targetFSRL, ByteProvider byteProvider, FileSystemService fsService, TaskMonitor monitor) throws IOException, CancelledException
      return type: FSTYPE → GFileSystem
      -FSTYPE create(ghidra.formats.gfilesystem.FSRLRoot targetFSRL, ghidra.app.util.bin.ByteProvider byteProvider, ghidra.formats.gfilesystem.FileSystemService fsService, ghidra.util.task.TaskMonitor monitor) throws IOException, CancelledException
      +ghidra.formats.gfilesystem.GFileSystem create(ghidra.formats.gfilesystem.FSRLRoot targetFSRL, ghidra.app.util.bin.ByteProvider byteProvider, ghidra.formats.gfilesystem.FileSystemService fsService, ghidra.util.task.TaskMonitor monitor) throws IOException, CancelledException
      Constructs a new GFileSystem instance that handles the specified file.

      Parameters:
      targetFSRL - the FSRLRoot of the filesystem being created.
      byteProvider - a ByteProvider containing the contents of the file being probed. This method is responsible for closing this byte provider instance.
      fsService - a reference to the FileSystemService object
      monitor - a TaskMonitor that should be polled to see if the user has requested to cancel the operation, and updated with progress information.
      Returns:
      a new GFileSystem derived instance.
      Throws:
      IOException - if there is an error reading files.
      CancelledException - if the user cancels