public interface ArchiveContext
extends java.lang.AutoCloseable
Archive and its associated ArchiveManager used to keep
track of temporary files and directories required for extraction. Use the close() method
to ensure immediate release of file handles and deletion of temporary files.| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the main archive and all inner archives, deleting temporary files and directories used
for extraction
|
Archive |
getArchive()
The main (or "outer") archive
|
ArchiveManager |
getArchiveManager()
The responsible for keeping track of inner archive resources
|
@NonNull Archive getArchive()
@NonNull ArchiveManager getArchiveManager()
void close()
throws java.io.IOException
close in interface java.lang.AutoCloseablejava.io.IOException