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
Fields -
Constructor Summary
ConstructorsConstructorDescriptionRefdFile(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-FileSystemRefthat pins the filesystem openfile- GFile file inside the specified filesystem
-
-
Method Details
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-