Package com.nt.udc.osanode
Class Config
java.lang.Object
com.nt.udc.osanode.Config
- All Implemented Interfaces:
ConfigIfc
-
Constructor Summary
ConstructorsConstructorDescriptionConfig
(InputStream input) Constructor for creating a config object from an InputStream.Config
(Properties props) Constructor for creating a config object from a Properties object. -
Method Summary
-
Constructor Details
-
Config
- Throws:
IOException
-
Config
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
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