public class ApkInfoParser
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ApkInfoParser.ApkInfo
Information about an APK
|
| Constructor and Description |
|---|
ApkInfoParser(java.io.File aaptFile,
com.android.ide.common.process.ProcessExecutor processExecutor)
Constructs a new parser
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.String> |
getFullAaptOutput(java.io.File apkFile)
Returns the full aapt manifest dump output.
|
ApkInfoParser.ApkInfo |
parseApk(java.io.File apkFile)
Computes and returns the info for an APK
|
public ApkInfoParser(@NonNull
java.io.File aaptFile,
@NonNull
com.android.ide.common.process.ProcessExecutor processExecutor)
aaptFile - aapt file to use to gather the infoprocessExecutor - a process Executor to call aapt@NonNull public ApkInfoParser.ApkInfo parseApk(@NonNull java.io.File apkFile) throws com.android.ide.common.process.ProcessException
apkFile - the APK to parsecom.android.ide.common.process.ProcessException - when aapt failed to execute@NonNull
public java.util.List<java.lang.String> getFullAaptOutput(@NonNull
java.io.File apkFile)
throws com.android.ide.common.process.ProcessException
apkFile - the apk file to call aapt on.com.android.ide.common.process.ProcessException - when aapt failed to execute