public static class Format.Man extends Format
Format.Describe, Format.Man, Format.Usage| Constructor and Description |
|---|
Format.Man() |
| Modifier and Type | Method and Description |
|---|---|
void |
print(CommandDescriptor<?> command,
Appendable stream)
Print the specified
command to the stream |
void |
printDescriptionSection(CommandDescriptor<?> command,
Appendable stream) |
void |
printNameSection(CommandDescriptor<?> command,
Appendable stream) |
protected boolean |
printOptions(boolean printed,
CommandDescriptor<?> command,
Appendable stream) |
protected boolean |
printParameter(boolean printed,
ParameterDescriptor parameter,
Appendable stream) |
protected boolean |
printParameters(boolean printed,
CommandDescriptor<?> command,
Appendable stream) |
void |
printParametersSection(CommandDescriptor<?> command,
Appendable stream) |
protected void |
printSubordinates(CommandDescriptor<?> command,
Appendable stream) |
void |
printSynopsisSection(CommandDescriptor<?> command,
Appendable stream) |
printFQN, printFQNWithOptionspublic Format.Man()
public void print(CommandDescriptor<?> command, Appendable stream) throws IOException
Formatcommand to the streamprint in class Formatcommand - the command to printstream - the outputIOExceptionpublic void printNameSection(CommandDescriptor<?> command, Appendable stream) throws IOException
IOExceptionpublic void printSynopsisSection(CommandDescriptor<?> command, Appendable stream) throws IOException
IOExceptionpublic void printDescriptionSection(CommandDescriptor<?> command, Appendable stream) throws IOException
IOExceptionpublic void printParametersSection(CommandDescriptor<?> command, Appendable stream) throws IOException
IOExceptionprotected void printSubordinates(CommandDescriptor<?> command, Appendable stream) throws IOException
IOExceptionprotected boolean printOptions(boolean printed, CommandDescriptor<?> command, Appendable stream) throws IOException
IOExceptionprotected boolean printParameters(boolean printed, CommandDescriptor<?> command, Appendable stream) throws IOException
IOExceptionprotected boolean printParameter(boolean printed, ParameterDescriptor parameter, Appendable stream) throws IOException
IOExceptionCopyright © 2015 eXo Platform SAS. All Rights Reserved.