Class Config

java.lang.Object
com.nt.udc.osanode.Config
All Implemented Interfaces:
ConfigIfc

public class Config extends Object implements ConfigIfc
  • Constructor Details

    • Config

      public Config(String configFilename) throws IOException
      Throws:
      IOException
    • Config

      public Config(InputStream input) throws IOException
      Constructor for creating a config object from an InputStream. This constructor uses the given InputStream to initialize the config variables. The InputStream is read directly into a Properties object and must conform to the Properties syntax.
      Parameters:
      input - InputStream for a valid Properties file
      Throws:
      IOException
      See Also:
    • Config

      public Config(Properties props)
      Constructor for creating a config object from a Properties object. This constructor uses the given Properties to initialize the config variables.
      Parameters:
      input - Properties
      See Also:
  • Method Details