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, printFQNWithOptions
public Format.Man()
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 printNameSection(CommandDescriptor<?> command, Appendable stream) throws IOException
IOException
public void printSynopsisSection(CommandDescriptor<?> command, Appendable stream) throws IOException
IOException
public void printDescriptionSection(CommandDescriptor<?> command, Appendable stream) throws IOException
IOException
public void printParametersSection(CommandDescriptor<?> command, Appendable stream) throws IOException
IOException
protected void printSubordinates(CommandDescriptor<?> command, Appendable stream) throws IOException
IOException
protected boolean printOptions(boolean printed, CommandDescriptor<?> command, Appendable stream) throws IOException
IOException
protected boolean printParameters(boolean printed, CommandDescriptor<?> command, Appendable stream) throws IOException
IOException
protected boolean printParameter(boolean printed, ParameterDescriptor parameter, Appendable stream) throws IOException
IOException
Copyright © 2015 eXo Platform SAS. All Rights Reserved.