//--------------------------------------------------------------------------------
public void execute()
{
try
{
MThreadPool tp = new MThreadPool( threadCount );
for( int i = 0; i < threadCount; ++i )
{
tp.addCommand( new MParseCommand( ( MParser )parserClass.newInstance(), reader, writer ) );
}
tp.slowStop();
}
catch( Exception e )
{
e.printStackTrace();
}