|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.configuration.event.EventSource
org.apache.commons.configuration.AbstractConfiguration
org.apache.commons.configuration.HierarchicalConfiguration
org.apache.commons.configuration.AbstractHierarchicalFileConfiguration
org.apache.commons.configuration.HierarchicalINIConfiguration
org.makumba.providers.MakumbaINIConfiguration
public class MakumbaINIConfiguration
An extended version of the HierarchicalINIConfiguration
suitable for makumba configuration
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.commons.configuration.AbstractHierarchicalFileConfiguration |
---|
org.apache.commons.configuration.AbstractHierarchicalFileConfiguration.FileConfigurationDelegate |
Nested classes/interfaces inherited from class org.apache.commons.configuration.HierarchicalConfiguration |
---|
org.apache.commons.configuration.HierarchicalConfiguration.BuilderVisitor, org.apache.commons.configuration.HierarchicalConfiguration.Node, org.apache.commons.configuration.HierarchicalConfiguration.NodeVisitor |
Field Summary |
---|
Fields inherited from class org.apache.commons.configuration.HierarchicalINIConfiguration |
---|
COMMENT_CHARS, SEPARATOR_CHARS |
Fields inherited from class org.apache.commons.configuration.HierarchicalConfiguration |
---|
EVENT_ADD_NODES, EVENT_CLEAR_TREE, EVENT_SUBNODE_CHANGED |
Fields inherited from class org.apache.commons.configuration.AbstractConfiguration |
---|
END_TOKEN, EVENT_ADD_PROPERTY, EVENT_CLEAR, EVENT_CLEAR_PROPERTY, EVENT_READ_PROPERTY, EVENT_SET_PROPERTY, START_TOKEN |
Constructor Summary | |
---|---|
MakumbaINIConfiguration(URL u)
|
|
MakumbaINIConfiguration(URL u,
MakumbaINIConfiguration defaultConfiguration)
|
Method Summary | |
---|---|
boolean |
getBooleanProperty(String section,
String property)
|
Map<String,String> |
getPropertiesAsMap(String section)
returns the properties of a section, if it exists |
Map<String,String> |
getPropertiesAsMap(String section,
MakumbaINIConfiguration defaultConfig)
Returns the properties of a section, enriched with the default properties |
Map<String,Map<String,String>> |
getPropertiesStartingWith(String sectionPrefix)
|
String |
getProperty(String section,
String property)
|
String |
getSource()
|
Methods inherited from class org.apache.commons.configuration.HierarchicalINIConfiguration |
---|
getSection, getSections, isCommentLine, isSectionLine, load, save |
Methods inherited from class org.apache.commons.configuration.AbstractHierarchicalFileConfiguration |
---|
addNodes, addPropertyDirect, clearProperty, clearTree, configurationChanged, containsKey, createDelegate, fetchNodeList, getBasePath, getDelegate, getEncoding, getFile, getFileName, getKeys, getKeys, getProperty, getReloadingStrategy, getURL, isAutoSave, isEmpty, load, load, load, load, load, load, reload, save, save, save, save, save, save, setAutoSave, setBasePath, setDelegate, setEncoding, setFile, setFileName, setProperty, setReloadingStrategy, setURL, subnodeConfigurationChanged |
Methods inherited from class org.apache.commons.configuration.HierarchicalConfiguration |
---|
clearNode, clearNode, clearReferences, clone, configurationAt, configurationAt, configurationsAt, createAddPath, createNode, createSubnodeConfiguration, createSubnodeConfiguration, fetchAddNode, findLastPathNode, findPropertyNodes, getDefaultExpressionEngine, getExpressionEngine, getMaxIndex, getRoot, getRootNode, interpolatedConfiguration, nodeDefined, nodeDefined, removeNode, removeNode, setDefaultExpressionEngine, setExpressionEngine, setRoot, setRootNode, subset |
Methods inherited from class org.apache.commons.configuration.AbstractConfiguration |
---|
addErrorLogListener, addProperty, append, clear, clearPropertyDirect, copy, createInterpolator, getBigDecimal, getBigDecimal, getBigInteger, getBigInteger, getBoolean, getBoolean, getBoolean, getByte, getByte, getByte, getDefaultListDelimiter, getDelimiter, getDouble, getDouble, getDouble, getFloat, getFloat, getFloat, getInt, getInt, getInteger, getInterpolator, getList, getList, getListDelimiter, getLogger, getLong, getLong, getLong, getProperties, getProperties, getShort, getShort, getShort, getString, getString, getStringArray, getSubstitutor, interpolate, interpolate, interpolateHelper, isDelimiterParsingDisabled, isThrowExceptionOnMissing, resolveContainerStore, setDefaultListDelimiter, setDelimiter, setDelimiterParsingDisabled, setListDelimiter, setLogger, setThrowExceptionOnMissing |
Methods inherited from class org.apache.commons.configuration.event.EventSource |
---|
addConfigurationListener, addErrorListener, clearConfigurationListeners, clearErrorListeners, createErrorEvent, createEvent, fireError, fireEvent, getConfigurationListeners, getErrorListeners, isDetailEvents, removeConfigurationListener, removeErrorListener, setDetailEvents |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.commons.configuration.Configuration |
---|
addProperty, clear, getBigDecimal, getBigDecimal, getBigInteger, getBigInteger, getBoolean, getBoolean, getBoolean, getByte, getByte, getByte, getDouble, getDouble, getDouble, getFloat, getFloat, getFloat, getInt, getInt, getInteger, getList, getList, getLong, getLong, getLong, getProperties, getShort, getShort, getShort, getString, getString, getStringArray, subset |
Constructor Detail |
---|
public MakumbaINIConfiguration(URL u, MakumbaINIConfiguration defaultConfiguration) throws org.apache.commons.configuration.ConfigurationException
org.apache.commons.configuration.ConfigurationException
public MakumbaINIConfiguration(URL u) throws org.apache.commons.configuration.ConfigurationException
org.apache.commons.configuration.ConfigurationException
Method Detail |
---|
public boolean getBooleanProperty(String section, String property)
public Map<String,String> getPropertiesAsMap(String section)
ConfigurationError
- if the section does not existpublic Map<String,String> getPropertiesAsMap(String section, MakumbaINIConfiguration defaultConfig)
public Map<String,Map<String,String>> getPropertiesStartingWith(String sectionPrefix)
public String getProperty(String section, String property)
public String getSource()
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |