提供了一系列工具类和扩展方法用于解析 AAPT2 编译的资源
Aapt2Container |
Represents the AAPT2 container class Aapt2Container |
BinaryParser |
Represents a binary data parser class BinaryParser : Closeable |
ConfigurationOuterClass |
class ConfigurationOuterClass |
Resources |
class Resources |
ResourcesInternal |
class ResourcesInternal |
Aapt2ParseException |
class Aapt2ParseException : Exception |
java.io.File |
MAGIC |
const val MAGIC: Int |
RES_FILE |
const val RES_FILE: Int |
RES_TABLE |
const val RES_TABLE: Int |
resourcePath |
val CompiledFile.resourcePath: String |
parseAapt2Container |
fun BinaryParser.parseAapt2Container(): Aapt2Container |
parseConfiguration |
fun BinaryParser.parseConfiguration(): Configuration |
parseHeader |
fun BinaryParser.parseHeader(): Header |
parseResEntry |
fun BinaryParser.parseResEntry(): Entry<*> |