public static void main(final String[] args) {
		// init of the connection to the plugin
		int viewPort = 0;
		final List<String> classList = new ArrayList<String>();
		for (int i = 0; i < args.length; i++) {
			if (args[i].equals("-Port")) {
				if (args[i + 1] != null) {
					viewPort = Integer.parseInt(args[i + 1]);
				}
				break;
			} else {
				classList.add(args[i]);
			}
		}
		try {

			final IUpdater updater = new SocketViewProgressUpdater(null,
					viewPort);

			final SocketAdapter adapter = new SocketAdapter(updater,
					classList.toArray(new String[classList.size()]));

			adapter.registerClasses(classList.toArray(new String[classList
					.size()]));
			adapter.runBenchmark();
		} catch (final SocketViewException | ClassNotFoundException
				| InstantiationException | IllegalAccessException e) {
			throw new IllegalStateException(e);
		}
	}
public static void main ( final String [ ] args ) { int viewPort = 0 ; final List < String > classList = new ArrayList < String > ( ) ; for ( int i = 0 ; i < args . length ; i ++ ) { if ( args [ i ] . equals ( "-Port" ) ) { if ( args [ i + 1 ] != null ) { viewPort = Integer . parseInt ( args [ i + 1 ] ) ; } break ; } else { classList . add ( args [ i ] ) ; } } try { final IUpdater updater = new SocketViewProgressUpdater ( null , viewPort ) ; final SocketAdapter adapter = new SocketAdapter ( updater , classList . toArray ( new String [ classList . size ( ) ] ) ) ; adapter . registerClasses ( classList . toArray ( new String [ classList . size ( ) ] ) ) ; adapter . runBenchmark ( ) ; } catch ( final SocketViewException | ClassNotFoundException | InstantiationException | IllegalAccessException e ) { throw new IllegalStateException ( e ) ; } }
Main method for invoking benchs with classes as strings.

@param args
the classes