|
Groovy 1.7.2 | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD |
java.lang.Objectorg.codehaus.groovy.tools.shell.Shell
public class Shell extends Object
A simple shell for invoking commands from a command-line.
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 |
---|
protected final Logger log
Constructor Detail |
---|
public Shell(IO io)
public Shell()
Method Detail |
---|
public Object execute(String line)
public Command findCommand(String line)
public boolean isExecutable(String line)
public def leftShift(String line)
public def leftShift(Command command)
protected List parseLine(String line)
public Command register(Command command)
Copyright © 2003-2010 The Codehaus. All rights reserved.