org.mortbay.servlet
Class CGI.EnvList

java.lang.Object
  extended by org.mortbay.servlet.CGI.EnvList
Enclosing class:
CGI

private static class CGI.EnvList
extends Object

private utility class that manages the Environment passed to exec.


Field Summary
private  Map envMap
           
 
Constructor Summary
CGI.EnvList()
           
CGI.EnvList(CGI.EnvList l)
           
 
Method Summary
 String[] getEnvArray()
          Get representation suitable for passing to exec.
 void set(String name, String value)
          Set a name/value pair, null values will be treated as an empty String
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

envMap

private Map envMap
Constructor Detail

CGI.EnvList

CGI.EnvList()

CGI.EnvList

CGI.EnvList(CGI.EnvList l)
Method Detail

set

public void set(String name,
                String value)
Set a name/value pair, null values will be treated as an empty String


getEnvArray

public String[] getEnvArray()
Get representation suitable for passing to exec.


toString

public String toString()
Overrides:
toString in class Object