|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.crsh.cli.descriptor.Format
org.crsh.cli.descriptor.Format.Man
public static class Format.Man
The command manual.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.crsh.cli.descriptor.Format |
|---|
Format.Describe, Format.Man, Format.Usage |
| Field Summary |
|---|
| Fields inherited from class org.crsh.cli.descriptor.Format |
|---|
DESCRIBE, MAN, USAGE |
| Constructor Summary | |
|---|---|
Format.Man()
|
|
| Method Summary | |
|---|---|
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)
|
void |
printParametersSection(CommandDescriptor<?> command,
Appendable stream)
|
void |
printSynopsisSection(CommandDescriptor<?> command,
Appendable stream)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Format.Man()
| Method Detail |
|---|
public void print(CommandDescriptor<?> command,
Appendable stream)
throws IOException
Formatcommand to the stream
print in class Formatcommand - the command to printstream - the output
IOException
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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||