类 ResourcesObfuscator

java.lang.Object
io.github.amsonix.molt.internal.reschiper.obfuscation.ResourcesObfuscator
所有已实现的接口:
Closeable, AutoCloseable

public class ResourcesObfuscator extends Object implements Closeable
The `ResourcesObfuscator` class is responsible for obfuscating resources in an Android AppBundle. It performs resource obfuscation based on provided mapping rules, while also allowing for whitelisting of resources.
  • 字段详细资料

  • 构造器详细资料

    • ResourcesObfuscator

      public ResourcesObfuscator(Path bundlePath, com.android.tools.build.bundletool.model.AppBundle rawAppBundle, Set<String> whiteListRules, Path outputLogLocationDir, Path mappingPath) throws IOException
      Constructs a `ResourcesObfuscator` with the specified parameters.
      参数:
      bundlePath - The path to the AppBundle bundle.
      rawAppBundle - The raw AppBundle.
      whiteListRules - The set of whitelisting rules for resources.
      outputLogLocationDir - The directory where log files will be generated.
      mappingPath - The path to the resource mapping file (can be null).
      抛出:
      IOException - If an I/O error occurs during initialization.
  • 方法详细资料