FileDocCategorySizeDatePackage
Svc.javaAPI DocAndroid 1.5 API3033Wed May 06 22:41:54 BST 2009com.android.commands.svc

Svc

public class Svc extends Object

Fields Summary
public static final Command
COMMAND_HELP
public static final Command[]
COMMANDS
Constructors Summary
Methods Summary
private static com.android.commands.svc.Svc$CommandlookupCommand(java.lang.String name)

        final int N = COMMANDS.length;
        for (int i=0; i<N; i++) {
            Command c = COMMANDS[i];
            if (c.name().equals(name)) {
                return c;
            }
        }
        return null;
    
public static voidmain(java.lang.String[] args)

        if (args.length >= 1) {
            Command c = lookupCommand(args[0]);
            if (c != null) {
                c.run(args);
                return;
            }
        }
        COMMAND_HELP.run(args);