com.basilv.envgen
Class EnvironmentPropertiesLoader

java.lang.Object
  extended by com.basilv.envgen.EnvironmentPropertiesLoader

public class EnvironmentPropertiesLoader
extends Object

Loads environment properties from the specified CSV file and populates an instance of EnvironmentProperties. The file format is as follows:


Constructor Summary
EnvironmentPropertiesLoader()
           
 
Method Summary
static EnvironmentProperties load(String filename)
          Load the CSV file into an EnvironmentProperties instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnvironmentPropertiesLoader

public EnvironmentPropertiesLoader()
Method Detail

load

public static EnvironmentProperties load(String filename)
Load the CSV file into an EnvironmentProperties instance.

Parameters:
filename - Cannot be null or empty. Must correspond to a CSV file of the correct format.
Returns:
the EnvironmentProperties instance.


EnvGen available from www.basilv.com/psd/software Copyright © 2007 Basil Vandegriend. All Rights Reserved.