|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface OptionHandler
Define plugin interface for CLI option handlers. An OptionHandler is responsible for providing a option, or activity, that will be used through the CLI.
| Method Summary | |
|---|---|
String |
getUsage()
Get the usage of the command |
String |
process(String input,
BufferedReader br,
PrintStream out)
Process the option. |
| Method Detail |
|---|
String process(String input,
BufferedReader br,
PrintStream out)
input - Parameters for the option, may be nullbr - An optional BufferdReader, used if the option requires input.
if this is null, the option handler may create a BufferedReader to
handle the inputout - The PrintStream to use if the option prints results or
choices for the user. Must not be null
String getUsage()
|
Copyright © Rio Project. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||