org.sapia.console
Class Context

java.lang.Object
  |
  +--org.sapia.console.Context

public class Context
extends Object

Models a command execution context.

Author:
Yanick Duchesne 29-Nov-02
See Also:
CommandConsole.newContext(), Command

Constructor Summary
protected Context()
           
 
Method Summary
 CmdLine getCommandLine()
          Returns this context's command-line object.
 Console getConsole()
          Returns this context's console.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Context

protected Context()
Method Detail

getConsole

public Console getConsole()
Returns this context's console.

Returns:
this context's Console

getCommandLine

public CmdLine getCommandLine()
Returns this context's command-line object.

Returns:
this context's Console


Copyright © 2002 Sapia Open Community, Inc. All Rights Reserved.