Package ghidra.formats.gfilesystem
Class FileCache.FileCacheEntryBuilder
java.lang.Object
java.io.OutputStream
ghidra.formats.gfilesystem.FileCache.FileCacheEntryBuilder
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
- Enclosing class:
FileCache
Allows creating
file cache entries
at the caller's convenience.
-
Method Summary
Methods inherited from class java.io.OutputStream
nullOutputStream
-
Method Details
-
finalize
-
write
- Specified by:
write
in classOutputStream
- Throws:
IOException
-
write
- Overrides:
write
in classOutputStream
- Throws:
IOException
-
write
- Overrides:
write
in classOutputStream
- Throws:
IOException
-
flush
- Specified by:
flush
in interfaceFlushable
- Overrides:
flush
in classOutputStream
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classOutputStream
- Throws:
IOException
-
finish
Finalizes this builder, pushing the bytes that have been written to it into the FileCache.- Returns:
- new
FileCache.FileCacheEntry
- Throws:
IOException
- if error
-