|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.android.builder.core.ApkInfoParser
public class ApkInfoParser
Class to parse an APK with aapt to gather information
Nested Class Summary | |
---|---|
static class |
ApkInfoParser.ApkInfo
Information about an APK |
Constructor Summary | |
---|---|
ApkInfoParser(java.io.File aaptFile,
com.android.ide.common.internal.CommandLineRunner commandLineRunner)
Constructs a new parser |
Method Summary | |
---|---|
ApkInfoParser.ApkInfo |
parseApk(java.io.File apkFile)
Computes and returns the info for an APK |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ApkInfoParser(@NonNull java.io.File aaptFile, @NonNull com.android.ide.common.internal.CommandLineRunner commandLineRunner)
aaptFile
- aapt file to use to gather the infocommandLineRunner
- a command line runner to call aaptMethod Detail |
---|
@NonNull public ApkInfoParser.ApkInfo parseApk(@NonNull java.io.File apkFile) throws java.lang.InterruptedException, com.android.ide.common.internal.LoggedErrorException, java.io.IOException
apkFile
- the APK to parse
java.lang.InterruptedException
com.android.ide.common.internal.LoggedErrorException
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |