public static void main(String[] args){
  try {
    Set<String> files=new TreeSet<String>();
    for (int i=0; i < args.length; i++) {
      getXMLFiles(args[i],files);
    }
    new LogMessagesFormatter(files);
  }
 catch (  ParserConfigurationException e) {
    e.printStackTrace();
  }
catch (  SAXException e) {
    e.printStackTrace();
  }
catch (  IOException e) {
    e.printStackTrace();
  }
}

public static void main ( String [ ] args ) { try { Set < String > files = new TreeSet < String > ( ) ; for ( int i = 0 ; i < args . length ; i ++ ) { getXMLFiles ( args [ i ] , files ) ; } new LogMessagesFormatter ( files ) ; } catch ( ParserConfigurationException e ) { e . printStackTrace ( ) ; } catch ( SAXException e ) { e . printStackTrace ( ) ; } catch ( IOException e ) { e . printStackTrace ( ) ; } }
takes an array of directories where message ids xml resides .
