Package org.picketbox.config
Class PicketBoxConfiguration
- java.lang.Object
-
- org.picketbox.config.PicketBoxConfiguration
-
public class PicketBoxConfiguration extends Object
Defines the PicketBox Configuration- Since:
- Jan 22, 2010
- Author:
- Anil.Saldhana@redhat.com
-
-
Constructor Summary
Constructors Constructor Description PicketBoxConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidload(InputStream configStream)Load the Configuration Streamvoidload(String configFileName)Load a configuration file
-
-
-
Method Detail
-
load
public void load(String configFileName) throws ConfigurationParsingException
Load a configuration file- Parameters:
configFileName-- Throws:
ConfigurationParsingException- parsing exception
-
load
public void load(InputStream configStream) throws ConfigurationParsingException
Load the Configuration Stream- Parameters:
configStream-- Throws:
ConfigurationParsingException- if there is parsing exception
-
-