类 ResourcesMappingParser
java.lang.Object
io.github.amsonix.molt.internal.reschiper.parser.ResourcesMappingParser
This class is responsible for parsing a resource mapping file used for resource obfuscation
in Android development and populating a
ResourceMapping object with the mappings.-
构造器概要
构造器构造器说明ResourcesMappingParser(Path mappingPath) Constructs a new ResourcesMappingParser with the specified mapping file path. -
方法概要
修饰符和类型方法说明parse()Parses the resource mapping file and returns a populatedResourceMappingobject.
-
构造器详细资料
-
ResourcesMappingParser
Constructs a new ResourcesMappingParser with the specified mapping file path.- 参数:
mappingPath- The path to the resource mapping file.- 抛出:
IllegalArgumentException- If the mapping file does not exist or is not readable.
-
-
方法详细资料
-
parse
Parses the resource mapping file and returns a populatedResourceMappingobject.- 返回:
- A
ResourceMappingobject containing the parsed resource mappings. - 抛出:
IOException- If an I/O error occurs while reading the mapping file.
-