Package jflex
Class Main
- java.lang.Object
-
- jflex.Main
-
public class Main extends Object
This is the command-line interface.It is responsible for parsing the commandline, getting input files, starting up the GUI if necessary, etc. and invokes
LexGenerator
accordingly.- Version:
- JFlex 1.8.2
- Author:
- Gerwin Klein, Régis Décamps
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
generate(String[] argv)
generate.static void
main(String[] argv)
Starts the generation process with the files inargv
or pops up a window to choose a file, whenargv
doesn't have any file entries.static void
printSystemInfo()
Print system information (e.g.
-
-
-
Method Detail
-
generate
public static void generate(String[] argv) throws SilentExit
generate.- Parameters:
argv
- an array ofString
objects.- Throws:
SilentExit
- if any.
-
main
public static void main(String[] argv)
Starts the generation process with the files inargv
or pops up a window to choose a file, whenargv
doesn't have any file entries.- Parameters:
argv
- the commandline.
-
printSystemInfo
public static void printSystemInfo()
Print system information (e.g. in case of unexpected exceptions)
-
-