public void runJSCover(String[] args) {
        if (printVersion()) {
            System.out.println(getVersionText());
        } else if (isServer()) {
            runServer(ConfigurationForServer.parse(args));
        } else if (isFileSystem()) {
            runFileSystem(ConfigurationForFS.parse(args));
        } else if (isStdOut()) {
            runSingleFile(args);
        } else if (showCharSets()) {
            System.out.println("Valid encodings:");
            SortedMap<String, Charset> charSet = Charset.availableCharsets();
            for (String charSetName : charSet.keySet()) {
                System.out.println(charSetName);
            }
            System.out.println("Default is: " + Charset.defaultCharset().name());
        } else {
            System.out.println(getHelpText());
        }
    }