public static String findSingleMainClass ( File rootFolder ) throws IOException { MainClassesCallback callback = new MainClassesCallback ( ) ; MainClassFinder . doWithMainClasses ( rootFolder , callback ) ; return callback . getMainClass ( ) ; }
Find a single main class from a given folder .