Package com.android.tools.apk.analyzer
Class Archives
- java.lang.Object
-
- com.android.tools.apk.analyzer.Archives
-
public class Archives extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Archives()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ArchiveEntrygetFirstManifestArchiveEntry(ArchiveNode input)Returns theArchiveEntrycorresponding to the "main"AndroidManifest.xmlfile of the archive.static ArchiveContextopen(java.nio.file.Path path)Opens an archive file from the local file systemstatic ArchiveContextopen(java.nio.file.Path path, com.android.utils.ILogger logger)Opens an archive file from the local file system
-
-
-
Method Detail
-
open
@NonNull public static ArchiveContext open(@NonNull java.nio.file.Path path) throws java.io.IOException
Opens an archive file from the local file system- Throws:
java.io.IOException
-
open
@NonNull public static ArchiveContext open(@NonNull java.nio.file.Path path, @NonNull com.android.utils.ILogger logger) throws java.io.IOException
Opens an archive file from the local file system- Throws:
java.io.IOException
-
getFirstManifestArchiveEntry
@Nullable public static ArchiveEntry getFirstManifestArchiveEntry(@NonNull ArchiveNode input)
Returns theArchiveEntrycorresponding to the "main"AndroidManifest.xmlfile of the archive.
-
-