Package com.android.tools.apk.analyzer
Interface ArchiveManager
-
- All Superinterfaces:
java.lang.AutoCloseable,java.io.Closeable
public interface ArchiveManager extends java.io.CloseableManages temporary files and directories required for browsing through the entries of anArchive. Use theCloseable.close()method to delete all temporary files and directories, as well as close file handles of the root and inner archives.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ArchiveContextopenArchive(java.nio.file.Path path)Opens aArchiveContextgiven aPath.ArchiveopenInnerArchive(Archive archive, java.nio.file.Path childPath)
-
-
-
Method Detail
-
openArchive
@NonNull ArchiveContext openArchive(@NonNull java.nio.file.Path path) throws java.io.IOException
Opens aArchiveContextgiven aPath. The returned archive is valid until theCloseable.close()method is called.- Throws:
java.io.IOException
-
-