Search in sources :

Example 1 with ApkTranslator

use of com.google.classyshark.silverghost.translator.apk.ApkTranslator in project android-classyshark by google.

the class SilverGhostFacade method inspectApk.

public static void inspectApk(List<String> args) {
    if (!new File(args.get(1)).getName().endsWith(".apk")) {
        System.err.println("Not an apk file ==> " + "java -jar ClassyShark.jar " + "-inspect APK_FILE");
        return;
    }
    Translator translator = new ApkTranslator(new File(args.get(1)));
    translator.apply();
    System.out.print(translator);
}
Also used : ApkTranslator(com.google.classyshark.silverghost.translator.apk.ApkTranslator) Translator(com.google.classyshark.silverghost.translator.Translator) ApkTranslator(com.google.classyshark.silverghost.translator.apk.ApkTranslator) File(java.io.File)

Aggregations

Translator (com.google.classyshark.silverghost.translator.Translator)1 ApkTranslator (com.google.classyshark.silverghost.translator.apk.ApkTranslator)1 File (java.io.File)1