org.crsh.cli.descriptor
Class Format.Usage
java.lang.Object
org.crsh.cli.descriptor.Format
org.crsh.cli.descriptor.Format.Usage
- Enclosing class:
- Format
public static class Format.Usage
- extends Format
The command usage.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Format.Usage
public Format.Usage()
print
public void print(CommandDescriptor<?> command,
Appendable stream)
throws IOException
- Description copied from class:
Format
- Print the specified
command
to the stream
- Specified by:
print
in class Format
- Parameters:
command
- the command to printstream
- the output
- Throws:
IOException
printUsageSection
public void printUsageSection(CommandDescriptor<?> command,
Appendable stream)
throws IOException
- Throws:
IOException
collectParametersTuples
private List<String[]> collectParametersTuples(CommandDescriptor<?> command)
throws IOException
- Throws:
IOException
printDetailsSection
public void printDetailsSection(CommandDescriptor<?> command,
Appendable stream)
throws IOException
- Throws:
IOException
Copyright © 2015 eXo Platform SAS. All Rights Reserved.