DLESE Tools
v1.6.0

org.dlese.dpc.util
Class EnvReader

java.lang.Object
  extended by org.dlese.dpc.util.EnvReader

public class EnvReader
extends Object

Read environment variables from an application. Code obtained from "Real's How To" at http://www.rgagnon.com/javadetails/java-0150.html

Version:
$Id: EnvReader.java,v 1.3 2009/03/20 23:34:00 jweather Exp $
Author:
Jonathan Ostwald

Constructor Summary
EnvReader()
           
 
Method Summary
static Properties getEnvVars()
          Gets the envVars attribute of the EnvReader class
static String getProperty(String prop)
          Gets the property attribute of the EnvReader class
static void main(String[] args)
          NOT YET DOCUMENTED
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnvReader

public EnvReader()
Method Detail

getEnvVars

public static Properties getEnvVars()
                             throws Throwable
Gets the envVars attribute of the EnvReader class

Returns:
The envVars value
Throws:
Throwable - NOT YET DOCUMENTED

getProperty

public static String getProperty(String prop)
Gets the property attribute of the EnvReader class

Parameters:
prop - NOT YET DOCUMENTED
Returns:
The property value

main

public static void main(String[] args)
NOT YET DOCUMENTED

Parameters:
args - NOT YET DOCUMENTED

DLESE Tools
v1.6.0