public class ByteArrayApkFile extends AbstractApkFile implements Closeable
AbstractApkFile.CertificateFile| 构造器和说明 |
|---|
ByteArrayApkFile(byte[] apkData) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close() |
protected ByteBuffer |
fileData()
return the whole apk file as ByteBuffer
|
protected List<AbstractApkFile.CertificateFile> |
getAllCertificateData() |
byte[] |
getFileData(String path)
read file in apk into bytes
|
ApkSignStatus |
verifyApk()
已过时。
|
findApkSignBlock, getAllCertificateMetas, getAllIcons, getApkMeta, getApkSingers, getApkV2Singers, getCertificateMetaList, getDexClasses, getIconFile, getIconFiles, getIconPaths, getLocales, getManifestXml, getPreferredLocale, setPreferredLocale, transBinaryXmlprotected List<AbstractApkFile.CertificateFile> getAllCertificateData() throws IOException
getAllCertificateData 在类中 AbstractApkFileIOExceptionpublic byte[] getFileData(String path) throws IOException
AbstractApkFilegetFileData 在类中 AbstractApkFileIOExceptionprotected ByteBuffer fileData()
AbstractApkFilefileData 在类中 AbstractApkFile@Deprecated public ApkSignStatus verifyApk()
AbstractApkFileverifyApk 在类中 AbstractApkFilepublic void close()
throws IOException
close 在接口中 Closeableclose 在接口中 AutoCloseableclose 在类中 AbstractApkFileIOExceptionCopyright © 2019. All rights reserved.