|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.crsh.cli.descriptor.Format org.crsh.cli.descriptor.Format.Usage
public static class Format.Usage
The command usage.
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.Usage() |
Method Summary | |
---|---|
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) |
Methods inherited from class org.crsh.cli.descriptor.Format |
---|
printFQN, printFQNWithOptions |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Format.Usage()
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |