public class ApkParsers extends Object
| 构造器和说明 |
|---|
ApkParsers() |
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
getManifestXml(byte[] apkData)
Get apk manifest xml file as text
|
static String |
getManifestXml(byte[] apkData,
Locale locale)
Get apk manifest xml file as text
|
static String |
getManifestXml(File file)
Get apk manifest xml file as text
|
static String |
getManifestXml(File file,
Locale locale)
Get apk manifest xml file as text
|
static String |
getManifestXml(String apkFilePath)
Get apk manifest xml file as text
|
static String |
getManifestXml(String apkFilePath,
Locale locale)
Get apk manifest xml file as text
|
static ApkMeta |
getMetaInfo(byte[] apkData)
Get apk meta info for apk file
|
static ApkMeta |
getMetaInfo(byte[] apkData,
Locale locale)
Get apk meta info for apk file
|
static ApkMeta |
getMetaInfo(File file)
Get apk meta info for apk file
|
static ApkMeta |
getMetaInfo(File file,
Locale locale)
Get apk meta info for apk file
|
static ApkMeta |
getMetaInfo(String apkFilePath)
Get apk meta info for apk file
|
static ApkMeta |
getMetaInfo(String apkFilePath,
Locale locale)
Get apk meta info for apk file, with locale
|
static boolean |
useBouncyCastle() |
static void |
useBouncyCastle(boolean useBouncyCastle)
Use BouncyCastle instead of JSSE to parse X509 certificate.
|
public static boolean useBouncyCastle()
public static void useBouncyCastle(boolean useBouncyCastle)
public static ApkMeta getMetaInfo(String apkFilePath) throws IOException
IOExceptionpublic static ApkMeta getMetaInfo(File file) throws IOException
IOExceptionpublic static ApkMeta getMetaInfo(byte[] apkData) throws IOException
IOExceptionpublic static ApkMeta getMetaInfo(String apkFilePath, Locale locale) throws IOException
IOExceptionpublic static ApkMeta getMetaInfo(File file, Locale locale) throws IOException
IOExceptionpublic static ApkMeta getMetaInfo(byte[] apkData, Locale locale) throws IOException
IOExceptionpublic static String getManifestXml(String apkFilePath) throws IOException
IOExceptionpublic static String getManifestXml(File file) throws IOException
IOExceptionpublic static String getManifestXml(byte[] apkData) throws IOException
IOExceptionpublic static String getManifestXml(String apkFilePath, Locale locale) throws IOException
IOExceptionpublic static String getManifestXml(File file, Locale locale) throws IOException
IOExceptionpublic static String getManifestXml(byte[] apkData, Locale locale) throws IOException
IOExceptionCopyright © 2019. All rights reserved.