|
Cytoscape 2.8.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CommandLineParser
A class that implements the CommandLineParser
interface
can parse a String array according to the Options
specified
and return a CommandLine
.
Method Summary | |
---|---|
CommandLine |
parse(Options options,
String[] arguments)
Parse the arguments according to the specified options. |
CommandLine |
parse(Options options,
String[] arguments,
boolean stopAtNonOption)
Parse the arguments according to the specified options. |
CommandLine |
parse(Options options,
String[] arguments,
Properties properties)
Parse the arguments according to the specified options and properties. |
CommandLine |
parse(Options options,
String[] arguments,
Properties properties,
boolean stopAtNonOption)
Parse the arguments according to the specified options and properties. |
Method Detail |
---|
CommandLine parse(Options options, String[] arguments) throws ParseException
options
- the specified Optionsarguments
- the command line arguments
ParseException
- if there are any problems encountered
while parsing the command line tokens.CommandLine parse(Options options, String[] arguments, Properties properties) throws ParseException
options
- the specified Optionsarguments
- the command line argumentsproperties
- command line option name-value pairs
ParseException
- if there are any problems encountered
while parsing the command line tokens.CommandLine parse(Options options, String[] arguments, boolean stopAtNonOption) throws ParseException
options
- the specified Optionsarguments
- the command line argumentsstopAtNonOption
- specifies whether to continue parsing the
arguments if a non option is encountered.
ParseException
- if there are any problems encountered
while parsing the command line tokens.CommandLine parse(Options options, String[] arguments, Properties properties, boolean stopAtNonOption) throws ParseException
options
- the specified Optionsarguments
- the command line argumentsproperties
- command line option name-value pairsstopAtNonOption
- specifies whether to continue parsing the
ParseException
- if there are any problems encountered
while parsing the command line tokens.
|
Cytoscape 2.8.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |