public abstract class AbstractPropertiesFactory extends Object
Constructor and Description |
---|
AbstractPropertiesFactory() |
Modifier and Type | Method and Description |
---|---|
Properties |
getDefaultProperties()
Returns the systems default properties, as read from the configuration file.
|
Properties |
getPropertiesFromFile(String propertyFileName,
ClassLoader classLoader)
Returns the config properties read from a specified location.
|
protected abstract Properties |
loadFromXML(Properties p,
InputStream is) |
public Properties getDefaultProperties()
public Properties getPropertiesFromFile(String propertyFileName, ClassLoader classLoader)
propertyFileName
- the file name. If relative, this is located using the FileLocator algorithm.protected abstract Properties loadFromXML(Properties p, InputStream is) throws IOException
IOException
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.