public abstract class ConfigWrapper<C extends Config> extends UnmodifiableConfigWrapper<C> implements Config
Config.Entryconfig| Modifier | Constructor and Description |
|---|---|
protected |
ConfigWrapper(C config) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(java.util.List<java.lang.String> path,
java.lang.Object value)
Adds a config value.
|
void |
clear()
Removes all values from the config.
|
Config |
createSubConfig()
Creates a new sub config of this config, as created when a subconfig's creation is
implied by
Config.set(List, Object) or Config.add(List, Object). |
java.util.Set<? extends Config.Entry> |
entrySet()
Returns a Set view of the config's entries.
|
<T> T |
remove(java.util.List<java.lang.String> path)
Removes a value from the config.
|
<T> T |
set(java.util.List<java.lang.String> path,
java.lang.Object value)
Sets a config value.
|
java.lang.String |
toString() |
configFormat, contains, equals, getRaw, hashCode, isEmpty, size, valueMapclone, finalize, getClass, notify, notifyAll, wait, wait, waitadd, addAll, checked, concurrentCopy, concurrentCopy, copy, copy, copy, copy, getDefaultMapCreator, getDefaultMapCreator, inMemory, inMemoryConcurrent, inMemoryUniversal, inMemoryUniversalConcurrent, isInsertionOrderPreserved, of, of, ofConcurrent, putAll, remove, removeAll, set, setInsertionOrderPreserved, unmodifiable, update, update, valueMap, wrapapply, apply, configFormat, contains, contains, get, get, getByte, getByte, getByteOrElse, getByteOrElse, getChar, getChar, getCharOrElse, getCharOrElse, getEnum, getEnum, getEnum, getEnum, getEnumOrElse, getEnumOrElse, getEnumOrElse, getEnumOrElse, getEnumOrElse, getEnumOrElse, getEnumOrElse, getEnumOrElse, getInt, getInt, getIntOrElse, getIntOrElse, getIntOrElse, getIntOrElse, getLong, getLong, getLongOrElse, getLongOrElse, getLongOrElse, getLongOrElse, getOptional, getOptional, getOptionalEnum, getOptionalEnum, getOptionalEnum, getOptionalEnum, getOptionalInt, getOptionalInt, getOptionalLong, getOptionalLong, getOrElse, getOrElse, getOrElse, getOrElse, getRaw, getRaw, getShort, getShort, getShortOrElse, getShortOrElse, isEmpty, isNull, isNull, sizeprotected ConfigWrapper(C config)
public java.util.Set<? extends Config.Entry> entrySet()
UnmodifiableConfigentrySet in interface ConfigentrySet in interface UnmodifiableConfigentrySet in class UnmodifiableConfigWrapper<C extends Config>public <T> T set(java.util.List<java.lang.String> path,
java.lang.Object value)
Configpublic boolean add(java.util.List<java.lang.String> path,
java.lang.Object value)
Configpublic <T> T remove(java.util.List<java.lang.String> path)
Configpublic void clear()
Configpublic Config createSubConfig()
ConfigConfig.set(List, Object) or Config.add(List, Object).createSubConfig in interface Configpublic java.lang.String toString()
toString in class java.lang.Object