org.ow2.shelbie.core.console
Class AnsiUsagePrinter
java.lang.Object
org.ow2.shelbie.core.console.AnsiUsagePrinter
- All Implemented Interfaces:
- org.ow2.shelbie.core.IUsagePrinter
public class AnsiUsagePrinter
- extends Object
- implements org.ow2.shelbie.core.IUsagePrinter
Print commands usage using an Ansi buffer.
|
Method Summary |
void |
printUsage(org.apache.felix.gogo.commands.Command command,
Set<org.apache.felix.gogo.commands.Option> options,
Set<org.apache.felix.gogo.commands.Argument> arguments,
PrintStream out)
Prints in the given stream the usage information to be displayed to
the user for the given command. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnsiUsagePrinter
public AnsiUsagePrinter()
printUsage
public void printUsage(org.apache.felix.gogo.commands.Command command,
Set<org.apache.felix.gogo.commands.Option> options,
Set<org.apache.felix.gogo.commands.Argument> arguments,
PrintStream out)
- Prints in the given stream the usage information to be displayed to
the user for the given command.
- Specified by:
printUsage in interface org.ow2.shelbie.core.IUsagePrinter
- Parameters:
command - command annotation descriptionoptions - set of option annotation descriptionarguments - set of argument annotation descriptionout - the PrintStream to be used to write the usage.
Copyright © 2013 OW2 Consortium. All Rights Reserved.