Environment

Overview

A simple facility for extracting environment parameters from an operating system specific shell. The Env class extends Properties and contains static Methods to access shell variables. An instance of the Env class takes a snapshot of these variables which can be accessed as properties using superclass methods.

Env env = null ;

try
{
    env = new Env() ;
}
catch ( EnvAccessException e )
{
    ...	
}	

String home = env.getProperty( MERLIN_HOME ) ;