public class PropertiesHolder
extends java.lang.Object
| Constructor and Description |
|---|
PropertiesHolder(java.util.Properties properties) |
PropertiesHolder(java.lang.String propertiesFileName) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Properties |
getProperties(SPInterface spi,
ClassLoaders loaders) |
java.lang.String |
getPropertiesFileName() |
public PropertiesHolder(java.util.Properties properties)
public PropertiesHolder(java.lang.String propertiesFileName)
public java.util.Properties getProperties(SPInterface spi, ClassLoaders loaders)
spi - Optional SPI (may be null).
If provided, an attempt is made to load the
property file as-per Class.getResource().loaders - Used only if properties need to be loaded.public java.lang.String getPropertiesFileName()
Copyright (c) 2002 - Apache Software Foundation