Package brut.androlib.res.data
Class ResTable
java.lang.Object
brut.androlib.res.data.ResTable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddPackage(ResPackage pkg, boolean main) voidaddSdkInfo(String key, String value) voidbooleangetPackage(int id) getPackage(String name) intgetResSpec(int resID) getResSpec(ResID resID) booleanvoidinitApkInfo(ApkInfo apkInfo, File outDir) booleanvoidloadMainPkg(brut.directory.ExtFile apkFile) voidsetPackageId(int id) voidsetPackageOriginal(String pkg) voidsetPackageRenamed(String pkg) voidsetSharedLibrary(boolean flag) voidsetSparseResources(boolean flag) voidsetVersionCode(String versionCode) voidsetVersionName(String versionName)
-
Constructor Details
-
ResTable
public ResTable() -
ResTable
public ResTable(brut.directory.ExtFile apkFile) -
ResTable
-
-
Method Details
-
getAnalysisMode
public boolean getAnalysisMode() -
getConfig
-
isMainPkgLoaded
public boolean isMainPkgLoaded() -
getResSpec
- Throws:
AndrolibException
-
getResSpec
- Throws:
AndrolibException
-
listMainPackages
-
listFramePackages
-
getPackage
- Throws:
AndrolibException
-
loadMainPkg
- Throws:
AndrolibException
-
getHighestSpecPackage
- Throws:
AndrolibException
-
getCurrentResPackage
- Throws:
AndrolibException
-
getPackage
- Throws:
AndrolibException
-
getValue
- Throws:
AndrolibException
-
addPackage
- Throws:
AndrolibException
-
setPackageRenamed
-
setPackageOriginal
-
setPackageId
public void setPackageId(int id) -
setSparseResources
public void setSparseResources(boolean flag) -
clearSdkInfo
public void clearSdkInfo() -
addSdkInfo
-
setVersionName
-
setVersionCode
-
getPackageRenamed
-
getPackageOriginal
-
getPackageId
public int getPackageId() -
getSparseResources
public boolean getSparseResources() -
initApkInfo
- Throws:
AndrolibException
-