public static class Format.Usage extends Format
Format.Describe, Format.Man, Format.Usage
Constructor and Description |
---|
Format.Usage() |
Modifier and Type | Method and Description |
---|---|
private List<String[]> |
collectParametersTuples(CommandDescriptor<?> command) |
void |
print(CommandDescriptor<?> command,
Appendable stream)
Print the specified
command to the stream |
void |
printDetailsSection(CommandDescriptor<?> command,
Appendable stream) |
void |
printUsageSection(CommandDescriptor<?> command,
Appendable stream) |
printFQN, printFQNWithOptions
public Format.Usage()
public void print(CommandDescriptor<?> command, Appendable stream) throws IOException
Format
command
to the stream
print
in class Format
command
- the command to printstream
- the outputIOException
public void printUsageSection(CommandDescriptor<?> command, Appendable stream) throws IOException
IOException
private List<String[]> collectParametersTuples(CommandDescriptor<?> command) throws IOException
IOException
public void printDetailsSection(CommandDescriptor<?> command, Appendable stream) throws IOException
IOException
Copyright © 2015 eXo Platform SAS. All Rights Reserved.