File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414public class JarMethodSearcher {
1515
1616 public static void main (String [] args ) {
17- // if (args.length != 2) {
18- // System.err.println("Usage: java -jar JarMethodFinder.jar <folderPath> <keyword>");
19- // return;
20- // }
21- //
22- // String folderPath = args[0];
23- // String keyword = args[1];
24- String folderPath = "F:\\ yonyou-modules-2\\ modules\\ aedsm\\ lib" ;
25- String keyword = "loadAttributes" ;
17+ if (args .length != 2 ) {
18+ System .err .println ("Usage: java -jar JarMethodFinder.jar <folderPath> <keyword>" );
19+ return ;
20+ }
21+
22+ String folderPath = args [0 ];
23+ String keyword = args [1 ];
2624
2725 try {
2826 List <Path > jarFiles = findJarsRecursively (folderPath );
@@ -216,4 +214,4 @@ private static void deleteDirectory(Path path) throws IOException {
216214 });
217215 }
218216 }
219- }
217+ }
You can’t perform that action at this time.
0 commit comments