Package ghidra.formats.gfilesystem
Class RefdFile
java.lang.Object
ghidra.formats.gfilesystem.RefdFile
- All Implemented Interfaces:
Closeable
,AutoCloseable
A
GFile
along with a FileSystemRef
to keep the filesystem pinned
in memory.
The caller is responsible for closing
this object, which releases
the FilesystemRef.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionRefdFile
(FileSystemRef fsRef, GFile file) Creates a RefdFile instance, taking ownership of the supplied fsRef. -
Method Summary
-
Field Details
-
fsRef
-
file
-
-
Constructor Details
-
RefdFile
Creates a RefdFile instance, taking ownership of the supplied fsRef.- Parameters:
fsRef
-FileSystemRef
that pins the filesystem openfile
- GFile file inside the specified filesystem
-
-
Method Details
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-