| Package | Description |
|---|---|
| com.aspectran.shell.command | |
| com.aspectran.shell.command.option |
A simple API for presenting, processing and validating a command line interface.
|
| com.aspectran.shell.console |
A package for enhanced shell input and output.
|
| com.aspectran.shell.jline.console | |
| com.aspectran.shell.service |
Contains a variant of the service interface for command-line application.
|
| Modifier and Type | Method | Description |
|---|---|---|
Console |
AbstractCommand.getConsole() |
| Modifier and Type | Method | Description |
|---|---|---|
java.io.Writer[] |
CommandLineParser.getRedirectionWriters(Console console) |
|
void |
AbstractCommand.printUsage(Console console) |
|
void |
Command.printUsage(Console console) |
Prints the usage statement for the specified command.
|
| Constructor | Description |
|---|---|
HelpFormatter(Console console) |
Creates a help formatter.
|
| Modifier and Type | Class | Description |
|---|---|---|
class |
AbstractConsole |
The Abstract Class for Console I/O.
|
class |
DefaultConsole |
Console I/O implementation that supports System Console.
|
| Modifier and Type | Class | Description |
|---|---|---|
class |
JLineConsole |
Console I/O implementation that supports JLine.
|
| Modifier and Type | Method | Description |
|---|---|---|
Console |
AbstractShellService.getConsole() |
|
Console |
ShellService.getConsole() |
| Modifier and Type | Method | Description |
|---|---|---|
static ShellService |
ShellService.create(java.io.File aspectranConfigFile,
Console console) |
Returns a new instance of ShellService.
|
static ShellService |
ShellService.create(java.lang.String aspectranConfigFile,
Console console) |
Returns a new instance of ShellService.
|
protected void |
AbstractShellService.setConsole(Console console) |
Copyright © 2008–2017 The Aspectran Project. All rights reserved.