booster / com.didiglobal.booster.aapt2

Package com.didiglobal.booster.aapt2

提供了一系列工具类和扩展方法用于解析 AAPT2 编译的资源

Types

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

Exceptions

Aapt2ParseException

class Aapt2ParseException : Exception

Extensions for External Classes

java.io.File

Properties

MAGIC

const val MAGIC: Int

RES_FILE

const val RES_FILE: Int

RES_TABLE

const val RES_TABLE: Int

resourcePath

val CompiledFile.resourcePath: String

Functions

parseAapt2Container

fun BinaryParser.parseAapt2Container(): Aapt2Container

parseConfiguration

fun BinaryParser.parseConfiguration(): Configuration

parseHeader

fun BinaryParser.parseHeader(): Header

parseResEntry

fun BinaryParser.parseResEntry(): Entry<*>