Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.basilv.envgen
Class EnvironmentPropertiesLoader

    java.lang.Object
      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:

- Each row corresponds to a single property or to a comment.
- For a property, the first column contains the name of the property.
  Each subsequent column contains the value of the property for a single environment.
- For a comment, the first column must start with the symbol '#' or '//', or be completely empty. The remainder of the row is ignored.

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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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