@Public public class UnmodifiableConfiguration extends Configuration
| Constructor and Description |
|---|
UnmodifiableConfiguration(Configuration config)
Creates a new UnmodifiableConfiguration, which holds a copy of the given configuration
that cannot be altered.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addAll(Configuration other) |
void |
addAll(Configuration other,
String prefix)
Adds all entries from the given configuration into this configuration.
|
clone, containsKey, equals, getBoolean, getBytes, getClass, getDouble, getFloat, getInteger, getLong, getString, hashCode, keySet, read, setBoolean, setBytes, setClass, setDouble, setFloat, setInteger, setLong, setString, toMap, toString, writepublic UnmodifiableConfiguration(Configuration config)
config - The configuration with the original contents.public final void addAll(Configuration other)
addAll in class Configurationpublic final void addAll(Configuration other, String prefix)
ConfigurationaddAll in class Configurationother - The configuration whose entries are added to this configuration.prefix - The prefix to prepend.Copyright © 2014–2016 The Apache Software Foundation. All rights reserved.