private void execCommand(String command,List args) 
		throws NoSuchMethodException,IllegalAccessException,InvocationTargetException
	{
		Class[] template = new Class[ args.size() ];
		for (int i=0; i<args.size(); i++) {
			template[i] = String.class;
		}
		Method m = MatchExptScript.class.getMethod(command, template );
		m.invoke(this, args.toArray(new String[0]));
	}
private void execCommand ( String command , List args ) throws NoSuchMethodException , IllegalAccessException , InvocationTargetException { Class [ ] template = new Class [ args . size ( ) ] ; for ( int i = 0 ; i < args . size ( ) ; i ++ ) { template [ i ] = String . class ; } Method m = MatchExptScript . class . getMethod ( command , template ) ; m . invoke ( this , args . toArray ( new String [ 0 ] ) ) ; }
execute a single command