This operation is not supported and will throw an
UnsupportedOperationException.
setProperty(String, Object) -
Method in class org.apache.commons.configuration.SubsetConfiguration
Set a property, this will replace any previously set values. Set values
is implicitly a call to clearProperty(key), addProperty(key, value).
setPropertyDelimiter(String) -
Method in class org.apache.commons.configuration.tree.DefaultExpressionEngine
Sets the property delmiter.
setPublicID(String) -
Method in class org.apache.commons.configuration.XMLConfiguration
Sets the public ID of the DOCTYPE declaration.
setReference(Object) -
Method in interface org.apache.commons.configuration.tree.ConfigurationNode
Sets this node's reference.
setReference(Object) -
Method in class org.apache.commons.configuration.tree.DefaultConfigurationNode
Sets the reference.
setRefreshDelay(long) -
Method in class org.apache.commons.configuration.reloading.FileChangedReloadingStrategy
Set the minimal time between two reloadings.
setReloadingStrategy(ReloadingStrategy) -
Method in class org.apache.commons.configuration.AbstractFileConfiguration
setReloadingStrategy(ReloadingStrategy) -
Method in class org.apache.commons.configuration.AbstractHierarchicalFileConfiguration
setReloadingStrategy(ReloadingStrategy) -
Method in interface org.apache.commons.configuration.FileConfiguration
Set the reloading strategy.
setRoot(HierarchicalConfiguration.Node) -
Method in class org.apache.commons.configuration.HierarchicalConfiguration
Sets the root node of this hierarchical configuration.
setRootElementName(String) -
Method in class org.apache.commons.configuration.XMLConfiguration
Sets the name of the root element.
setRootName(String) -
Method in class org.apache.commons.configuration.ConfigurationXMLReader
Sets the name for the root element.
setRootNode(ConfigurationNode) -
Method in class org.apache.commons.configuration.HierarchicalConfiguration
Sets the root node of this hierarchical configuration.
setSingleLine(boolean) -
Method in class org.apache.commons.configuration.PropertiesConfigurationLayout.PropertyLayoutData
Sets the single line flag.
setSingleLine(String, boolean) -
Method in class org.apache.commons.configuration.PropertiesConfigurationLayout
Sets the "single line flag" for the specified property key.
setStartOffset(int) -
Method in class org.apache.commons.configuration.tree.xpath.ConfigurationNodeIteratorBase
Sets the start offset of the iteration.
setSystemID(String) -
Method in class org.apache.commons.configuration.XMLConfiguration
Sets the system ID of the DOCTYPE declaration.
setThrowExceptionOnMissing(boolean) -
Method in class org.apache.commons.configuration.AbstractConfiguration
Allows to set the throwExceptionOnMissing
flag.
setThrowExceptionOnMissing(boolean) -
Method in class org.apache.commons.configuration.SubsetConfiguration
Allows to set the throwExceptionOnMissing
flag. This
flag controls the behavior of property getter methods that return
objects if the requested property is missing. If the flag is set to
false (which is the default value), these methods will return
null. If set to true, they will throw a
NoSuchElementException
exception. Note that getter methods
for primitive data types are not affected by this flag.
Change the behaviour of the parent configuration if it supports this feature.
setURL(URL) -
Method in class org.apache.commons.configuration.AbstractFileConfiguration
Set the location of this configuration as a URL.
setURL(URL) -
Method in class org.apache.commons.configuration.AbstractHierarchicalFileConfiguration
setURL(URL) -
Method in interface org.apache.commons.configuration.FileConfiguration
The URL where the configuration is stored.
setValidating(boolean) -
Method in class org.apache.commons.configuration.XMLConfiguration
Sets the value of the validating flag.
setValue(Object) -
Method in class org.apache.commons.configuration.XMLConfiguration.XMLNode
Sets the value of this node.
setValue(Object) -
Method in interface org.apache.commons.configuration.tree.ConfigurationNode
Sets the value of this node.
setValue(Object) -
Method in class org.apache.commons.configuration.tree.DefaultConfigurationNode
Sets the value of this node.
setValue(Object) -
Method in class org.apache.commons.configuration.tree.xpath.ConfigurationNodePointer
Sets the value of this node.
setupDigesterInstance(Digester, String, ObjectCreationFactory, String, boolean) -
Method in class org.apache.commons.configuration.ConfigurationFactory
Sets up digester rules for a configuration to be loaded.
setupUnionRules(Digester, String) -
Method in class org.apache.commons.configuration.ConfigurationFactory
Sets up rules for configurations in the additional section.
size() -
Method in class org.apache.commons.configuration.ConfigurationMap.ConfigurationSet
specialConstructor -
Variable in class org.apache.commons.configuration.plist.ParseException
This variable determines which constructor was used to create
this object and thereby affects the semantics of the
"getMessage" method (see below).
specialToken -
Variable in class org.apache.commons.configuration.plist.Token
This field is used to access special tokens that occur prior to this
token, but after the immediately preceding regular (non-special) token.
split(String, char) -
Static method in class org.apache.commons.configuration.PropertyConverter
Split a string on the specified delimiter.
staticFlag -
Static variable in class org.apache.commons.configuration.plist.SimpleCharStream
strategy -
Variable in class org.apache.commons.configuration.AbstractFileConfiguration
Holds a reference to the reloading strategy.
stripCommentChar(String, boolean) -
Static method in class org.apache.commons.configuration.PropertiesConfigurationLayout
Either removes the comment character from the given comment line or
ensures that the line starts with a comment character.
subset(String) -
Method in class org.apache.commons.configuration.AbstractConfiguration
Return a decorator Configuration containing every key from the current
Configuration that starts with the specified prefix. The prefix is
removed from the keys in the subset. For example, if the configuration
contains the following properties:
prefix.number = 1
prefix.string = Apache
prefixed.foo = bar
prefix = Jakarta
the Configuration returned by subset("prefix")
will contain
the properties:
number = 1
string = Apache
= Jakarta
(The key for the value "Jakarta" is an empty string)
Since the subset is a decorator and not a modified copy of the initial
Configuration, any change made to the subset is available to the
Configuration, and reciprocally.
subset(String) -
Method in interface org.apache.commons.configuration.Configuration
Return a decorator Configuration containing every key from the current
Configuration that starts with the specified prefix.
subset(String) -
Method in class org.apache.commons.configuration.HierarchicalConfiguration
Creates a new Configuration
object containing all keys
that start with the specified prefix.
subset(String) -
Method in class org.apache.commons.configuration.SubsetConfiguration
Return a decorator Configuration containing every key from the current
Configuration that starts with the specified prefix. The prefix is
removed from the keys in the subset. For example, if the configuration
contains the following properties:
prefix.number = 1
prefix.string = Apache
prefixed.foo = bar
prefix = Jakarta
the Configuration returned by subset("prefix")
will contain
the properties:
number = 1
string = Apache
= Jakarta
(The key for the value "Jakarta" is an empty string)
Since the subset is a decorator and not a modified copy of the initial
Configuration, any change made to the subset is available to the
Configuration, and reciprocally.