Groovy 1.7.2

org.codehaus.groovy.tools.shell
Class Shell

java.lang.Object
  org.codehaus.groovy.tools.shell.Shell

public class Shell
extends Object

A simple shell for invoking commands from a command-line.

version:
$Id: Shell.groovy 8432 2007-10-07 08:55:37Z user57 $
author:
Jason Dillon


Property Summary
protected Logger log

 
Constructor Summary
Shell(IO io)

Shell()

 
Method Summary
Object execute(String line)

Command findCommand(String line)

boolean isExecutable(String line)

def leftShift(String line)

def leftShift(Command command)

protected List parseLine(String line)

Command register(Command command)

 
Methods inherited from class Object
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll
 

Property Detail

log

protected final Logger log


 
Constructor Detail

Shell

public Shell(IO io)


Shell

public Shell()


 
Method Detail

execute

public Object execute(String line)


findCommand

public Command findCommand(String line)


isExecutable

public boolean isExecutable(String line)


leftShift

public def leftShift(String line)


leftShift

public def leftShift(Command command)


parseLine

protected List parseLine(String line)


register

public Command register(Command command)


 

Copyright © 2003-2010 The Codehaus. All rights reserved.