public class SrampShell extends Object
| Constructor and Description |
|---|
SrampShell()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected ShellCommandReader |
createCommandReader(String[] args)
Creates an appropriate
ShellCommandReader based on the command line
arguments and the current runtime environment. |
static void |
main(String[] args)
Main entry point.
|
void |
run(String[] args)
Runs the shell.
|
void |
shutdown()
Shuts down the shell.
|
public static void main(String[] args)
args - public void run(String[] args) throws Exception
args - Exceptionprotected ShellCommandReader createCommandReader(String[] args) throws IOException
ShellCommandReader based on the command line
arguments and the current runtime environment.args - IOExceptionpublic void shutdown()
Copyright © 2011-2013 JBoss, a division of Red Hat. All Rights Reserved.