public abstract class Format extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Format.Describe
The command description in one line.
|
static class |
Format.Man
The command manual.
|
static class |
Format.Usage
The command usage.
|
Modifier and Type | Field and Description |
---|---|
static Format.Describe |
DESCRIBE
.
|
static Format.Man |
MAN
.
|
static Format.Usage |
USAGE
.
|
Constructor and Description |
---|
Format() |
Modifier and Type | Method and Description |
---|---|
abstract void |
print(CommandDescriptor<?> command,
Appendable stream)
Print the specified
command to the stream |
protected void |
printFQN(CommandDescriptor<?> command,
Appendable stream)
Print the full qualified name of the command.
|
protected void |
printFQNWithOptions(CommandDescriptor<?> command,
Appendable stream) |
public static final Format.Describe DESCRIBE
public static final Format.Usage USAGE
public static final Format.Man MAN
public Format()
public abstract void print(CommandDescriptor<?> command, Appendable stream) throws IOException
command
to the stream
command
- the command to printstream
- the outputIOException
protected void printFQN(CommandDescriptor<?> command, Appendable stream) throws IOException
command
- the commandstream
- the outputIOException
- any io exceptionprotected void printFQNWithOptions(CommandDescriptor<?> command, Appendable stream) throws IOException
IOException
Copyright © 2015 eXo Platform SAS. All Rights Reserved.