Class for main
which will parse files given as lines on stdio.
More...
|
static void | main (String[] args) throws Exception |
|
Class for main
which will parse files given as lines on stdio.
Definition at line 10 of file SpecParserRunner.java.
◆ main()
static void SpecParserRunner.main |
( |
String[] |
args | ) |
throws Exception |
|
inlinestatic |
Definition at line 11 of file SpecParserRunner.java.
11 {
12 if (
args.length != 0) {
13 System.err.println("No command line arguments expected.");
14 System.err.println("Files to parse are accepted on the standard input.");
15 System.exit(1);
16 }
17
18 Scanner scanner = new Scanner(System.in);
19 String[] filenames = new String[1];
20 while (scanner.hasNextLine()) {
21 String filename = scanner.nextLine().trim();
22 filenames[0] = filename;
23 System.out.println("---------- " + filename + " ----------");
25 }
26 }
Class for main which will parse files given as command line arguments.
static void main(String[] args)
G_BEGIN_DECLS G_MODULE_EXPORT FlValue * args
The documentation for this class was generated from the following file: