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:
writein classOutputStream- Throws:
IOException
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
flush
- Specified by:
flushin interfaceFlushable- Overrides:
flushin classOutputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein 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
-