Package org.flasby.cli
Class FileOption
java.lang.Object
org.flasby.cli.FileOption
adaptor to get a File from a commandline option.
FileOption rootDir = new FileOption( options.create( 'c', "ccroot", true ));
CommandLine cmd = parser.parse(...);
File f = rootDir.getFile( cmd );
- Author:
- Steve Flasby 05-Nov-2004
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetFile
(File parentDir, CommandLine commandLine) getFile
(CommandLine commandLine) getPath
(String parentPath, CommandLine commandLine) getPath
(CommandLine commandLine)
-
Constructor Details
-
FileOption
-
-
Method Details
-
getFile
-
getFile
-
getPath
-
getPath
-