| java.lang.Object org.apache.commons.discovery.tools.PropertiesHolder
PropertiesHolder | public class PropertiesHolder (Code) | | Holder for a default class.
Class may be specified by name (String) or class (Class).
Using the holder complicates the users job, but minimized # of API's.
author: Richard A. Sitze |
PropertiesHolder | public PropertiesHolder(String propertiesFileName)(Code) | | |
getProperties | public Properties getProperties(SPInterface spi, ClassLoaders loaders)(Code) | | Parameters: spi - Optional SPI (may be null).If provided, an attempt is made to load theproperty file as-per Class.getResource(). Parameters: loaders - Used only if properties need to be loaded. Properties. Load the properties if necessary. |
getPropertiesFileName | public String getPropertiesFileName()(Code) | | |
|
|