birchconfig
Class getEnv

java.lang.Object
  extended by birchconfig.getEnv

public class getEnv
extends java.lang.Object

We can probably delete this method now. I believe that after Jave 1.5, getenv was restored to the API. WARNING: This doesn't work. What seems to happen is that echo runs, and prints out the rest of the string, rather than taking the entire string as a command and arguments. Escaping the quotes doesn't help. Get the value of an environment varialbe. Similar to the C getenv command.


Constructor Summary
getEnv()
           
 
Method Summary
static java.lang.String getEnv(java.lang.String varname)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

getEnv

public getEnv()
Method Detail

getEnv

public static java.lang.String getEnv(java.lang.String varname)
                               throws java.lang.Exception
Throws:
java.lang.Exception