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, printFQNWithOptionspublic Format.Usage()
public void print(CommandDescriptor<?> command, Appendable stream) throws IOException
Formatcommand to the streamprint in class Formatcommand - the command to printstream - the outputIOExceptionpublic void printUsageSection(CommandDescriptor<?> command, Appendable stream) throws IOException
IOExceptionprivate List<String[]> collectParametersTuples(CommandDescriptor<?> command) throws IOException
IOExceptionpublic void printDetailsSection(CommandDescriptor<?> command, Appendable stream) throws IOException
IOExceptionCopyright © 2015 eXo Platform SAS. All Rights Reserved.