Package ghidra.formats.gfilesystem
Class RefdFile
- java.lang.Object
-
- ghidra.formats.gfilesystem.RefdFile
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable
public class RefdFile extends java.lang.Object implements java.io.CloseableAGFilealong with aFileSystemRefto keep the filesystem pinned in memory.The caller is responsible for
closingthis object, which releases the FilesystemRef.
-
-
Field Summary
Fields Modifier and Type Field Description GFilefileFileSystemReffsRef
-
Constructor Summary
Constructors Constructor Description RefdFile(FileSystemRef fsRef, GFile file)Creates a RefdFile instance, taking ownership of the supplied fsRef.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()
-
-
-
Field Detail
-
fsRef
public final FileSystemRef fsRef
-
file
public final GFile file
-
-
Constructor Detail
-
RefdFile
public RefdFile(FileSystemRef fsRef, GFile file)
Creates a RefdFile instance, taking ownership of the supplied fsRef.- Parameters:
fsRef-FileSystemRefthat pins the filesystem openfile- GFile file inside the specified filesystem
-
-