Package eu.bandm.tools.util.files
Class CliOrGui
java.lang.Object
eu.bandm.tools.util.files.CliOrGui
Gets file names from command line or a very primitive interactive GUI input
-
Method Summary
Modifier and TypeMethodDescriptionselectOneInputFile
(String title, boolean lenient, String[] args) Central entry method.
-
Method Details
-
selectOneInputFile
Central entry method. When the command line parameters contain strings, then the first is tried as a file name. If not, an interactive swing gui is started.- Parameters:
args
- the list list strings as found on the command linelenient
- if more than one command line parameters are allowed
-