Class ApkStringResHelper

java.lang.Object
com.pnfsoftware.jeb.core.units.code.android.ApkStringResHelper

public class ApkStringResHelper extends Object
Gather APK string resources to make them easily retrievable by client code, such as disassembly generators for IDexUnit. This helper walks through the processed Resources held by corresponding IXmlUnit. The path structure of the units matter.
  • Constructor Details

    • ApkStringResHelper

      public ApkStringResHelper(IApkUnit apk, List<String> preferredLocales)
      Parameters:
      apk - mandatory unit
      preferredLocales - optional
    • ApkStringResHelper

      public ApkStringResHelper(IApkUnit apk)
  • Method Details

    • getDefaultString

      public String getDefaultString(int resId)
    • generateAutoCommentForPotentialResourceId

      public String generateAutoCommentForPotentialResourceId(int resId)