org.cli4j
Class Context

java.lang.Object
  |
  +--org.cli4j.Context

public final class Context
extends java.lang.Object

Version:
@(#) $Id: Context.html,v 1.2 2001/12/16 05:14:50 gmcallister Exp $
Author:
Glenn McAllister

Constructor Summary
Context(java.io.InputStream in, java.io.PrintStream out)
           
 
Method Summary
 boolean containsKey(java.lang.String key)
           
 java.lang.Object get(java.lang.String key)
           
 Node getCurrentNode()
           
 java.io.BufferedReader getInputAsReader()
           
 java.io.InputStream getInputStream()
           
 java.io.PrintStream getPrintStream()
           
 void log(java.lang.String message)
           
 void put(java.lang.String key, java.lang.Object value)
           
 java.lang.Object remove(java.lang.String key)
           
 java.lang.String resolve(java.lang.String value)
           
 void setLogStream(java.io.PrintStream logStream)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Context

public Context(java.io.InputStream in,
               java.io.PrintStream out)
Method Detail

setLogStream

public void setLogStream(java.io.PrintStream logStream)

log

public void log(java.lang.String message)

put

public void put(java.lang.String key,
                java.lang.Object value)

get

public java.lang.Object get(java.lang.String key)

containsKey

public boolean containsKey(java.lang.String key)

remove

public java.lang.Object remove(java.lang.String key)

getInputStream

public java.io.InputStream getInputStream()

getInputAsReader

public java.io.BufferedReader getInputAsReader()

getPrintStream

public java.io.PrintStream getPrintStream()

getCurrentNode

public Node getCurrentNode()

resolve

public java.lang.String resolve(java.lang.String value)