public class PicketBoxConfiguration extends Object
Constructor and Description |
---|
PicketBoxConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
load(InputStream configStream)
Load the Configuration Stream
|
void |
load(String configFileName)
Load a configuration file
|
public void load(String configFileName) throws ConfigurationFileNullException, ConfigurationParsingException
configFileName
- ConfigurationFileNullException
- if the passed file name is nullConfigurationParsingException
- parsing exceptionpublic void load(InputStream configStream) throws ConfigurationStreamNullException, ConfigurationParsingException
configStream
- ConfigurationStreamNullException
- if the configuration stream is nullConfigurationParsingException
- if there is parsing exceptionCopyright © 2013 JBoss Inc.. All Rights Reserved.