public static void run(String[] command) throws IOException, RDF4JException, TrustyUriException {
		String cmd = command[0];
		String[] cmdArgs = Arrays.copyOfRange(command, 1, command.length);
		if (cmd.equals("CheckFile")) {
			CheckFile.main(cmdArgs);
		} else if (cmd.equals("ProcessFile")) {
			ProcessFile.main(cmdArgs);
		} else if (cmd.equals("CheckLargeRdf")) {
			CheckLargeRdf.main(cmdArgs);
		} else if (cmd.equals("TransformRdf")) {
			TransformRdf.main(cmdArgs);
		} else if (cmd.equals("TransformLargeRdf")) {
			TransformLargeRdf.main(cmdArgs);
		} else if (cmd.equals("CheckSortedRdf")) {
			CheckSortedRdf.main(cmdArgs);
		} else {
			System.err.println("ERROR: Unrecognized command " + cmd);
			System.exit(1);
		}
	}
public static void run ( String [ ] command ) throws IOException , RDF4JException , TrustyUriException { String cmd = command [ 0 ] ; String [ ] cmdArgs = Arrays . copyOfRange ( command , 1 , command . length ) ; if ( cmd . equals ( "CheckFile" ) ) { CheckFile . main ( cmdArgs ) ; } else if ( cmd . equals ( "ProcessFile" ) ) { ProcessFile . main ( cmdArgs ) ; } else if ( cmd . equals ( "CheckLargeRdf" ) ) { CheckLargeRdf . main ( cmdArgs ) ; } else if ( cmd . equals ( "TransformRdf" ) ) { TransformRdf . main ( cmdArgs ) ; } else if ( cmd . equals ( "TransformLargeRdf" ) ) { TransformLargeRdf . main ( cmdArgs ) ; } else if ( cmd . equals ( "CheckSortedRdf" ) ) { CheckSortedRdf . main ( cmdArgs ) ; } else { System . err . println ( "ERROR: Unrecognized command " + cmd ) ; System . exit ( 1 ) ; } }
Runs the given command, for example: {"ProcessFile", "file.txt"}

@param command the command, as a String array