FileDocCategorySizeDatePackage
Main.javaAPI DocAndroid 5.1 API1149Thu Mar 12 22:18:30 GMT 2015com.android.dx.command.grep

Main

public final class Main extends Object

Fields Summary
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] args)

        String dexFile = args[0];
        String pattern = args[1];

        Dex dex = new Dex(new File(dexFile));
        int count = new Grep(dex, Pattern.compile(pattern), new PrintWriter(System.out)).grep();
        System.exit((count > 0) ? 0 : 1);