com.javaranch.common
Class Env

java.lang.Object
  |
  +--com.javaranch.common.Env

public class Env
extends java.lang.Object

A class that loads an environment file and makes the data of that file available as key-value pairs.

- - - - - - - - - - - - - - - - -

Copyright (c) 1998-2004 Paul Wheaton

You are welcome to do whatever you want to with this source file provided that you maintain this comment fragment (between the dashed lines). Modify it, change the package name, change the class name ... personal or business use ... sell it, share it ... add a copyright for the portions you add ...

My goal in giving this away and maintaining the copyright is to hopefully direct developers back to JavaRanch.

The original source can be found at JavaRanch

- - - - - - - - - - - - - - - - -

Author:
Paul Wheaton

Constructor Summary
Env()
           
 
Method Summary
static java.lang.String get(java.lang.String key)
           
static java.util.Enumeration getKeys()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Env

public Env()
Method Detail

get

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

getKeys

public static java.util.Enumeration getKeys()


Copyright ©2004 Paul Wheaton All Rights Reserved