com.mchange.v2.cfg
Class BasicMultiPropertiesConfig

java.lang.Object
  extended by com.mchange.v2.cfg.MultiPropertiesConfig
      extended by com.mchange.v2.cfg.BasicMultiPropertiesConfig

public class BasicMultiPropertiesConfig
extends MultiPropertiesConfig


Constructor Summary
BasicMultiPropertiesConfig(String[] resourcePaths)
           
BasicMultiPropertiesConfig(String[] resourcePaths, MLogger logger)
           
 
Method Summary
 Properties getPropertiesByPrefix(String pfx)
           
 Properties getPropertiesByResourcePath(String path)
           
 String[] getPropertiesResourcePaths()
           
 String getProperty(String key)
           
 
Methods inherited from class com.mchange.v2.cfg.MultiPropertiesConfig
combine, foundVmConfig, read, read, readVmConfig, readVmConfig
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicMultiPropertiesConfig

public BasicMultiPropertiesConfig(String[] resourcePaths)

BasicMultiPropertiesConfig

public BasicMultiPropertiesConfig(String[] resourcePaths,
                                  MLogger logger)
Method Detail

getPropertiesResourcePaths

public String[] getPropertiesResourcePaths()
Specified by:
getPropertiesResourcePaths in class MultiPropertiesConfig

getPropertiesByResourcePath

public Properties getPropertiesByResourcePath(String path)
Specified by:
getPropertiesByResourcePath in class MultiPropertiesConfig

getPropertiesByPrefix

public Properties getPropertiesByPrefix(String pfx)
Specified by:
getPropertiesByPrefix in class MultiPropertiesConfig

getProperty

public String getProperty(String key)
Specified by:
getProperty in class MultiPropertiesConfig