org.overlord.sramp.shell
Class SrampShell

java.lang.Object
  extended by org.overlord.sramp.shell.SrampShell

public class SrampShell
extends Object

An interactive shell for working with an s-ramp repository.

Author:
eric.wittmann@redhat.com

Constructor Summary
SrampShell()
          Constructor.
 
Method Summary
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SrampShell

public SrampShell()
Constructor.

Method Detail

main

public static void main(String[] args)
Main entry point.

Parameters:
args -

run

public void run(String[] args)
         throws Exception
Runs the shell.

Parameters:
args -
Throws:
Exception

createCommandReader

protected ShellCommandReader createCommandReader(String[] args)
                                          throws IOException
Creates an appropriate ShellCommandReader based on the command line arguments and the current runtime environment.

Parameters:
args -
Throws:
IOException

shutdown

public void shutdown()
Shuts down the shell.



Copyright © 2011-2013 JBoss, a division of Red Hat. All Rights Reserved.