- AbstractCommentedConfig - Class in com.electronwill.nightconfig.core
-
An abstract CommentedConfig backed by two maps: one for the values and one for the comments.
- AbstractCommentedConfig(boolean) - Constructor for class com.electronwill.nightconfig.core.AbstractCommentedConfig
-
Deprecated.
- AbstractCommentedConfig(Supplier<Map<String, Object>>) - Constructor for class com.electronwill.nightconfig.core.AbstractCommentedConfig
-
- AbstractCommentedConfig(Map<String, Object>) - Constructor for class com.electronwill.nightconfig.core.AbstractCommentedConfig
-
Creates an AbstractCommentedConfig backed by the specified map
- AbstractCommentedConfig(Map<String, Object>, Map<String, String>) - Constructor for class com.electronwill.nightconfig.core.AbstractCommentedConfig
-
Creates an AbstractCommentedConfig backed by the specified map
- AbstractCommentedConfig(UnmodifiableConfig, boolean) - Constructor for class com.electronwill.nightconfig.core.AbstractCommentedConfig
-
Deprecated.
- AbstractCommentedConfig(UnmodifiableConfig, Supplier<Map<String, Object>>) - Constructor for class com.electronwill.nightconfig.core.AbstractCommentedConfig
-
- AbstractCommentedConfig(UnmodifiableCommentedConfig, boolean) - Constructor for class com.electronwill.nightconfig.core.AbstractCommentedConfig
-
Deprecated.
- AbstractCommentedConfig(UnmodifiableCommentedConfig, Supplier<Map<String, Object>>) - Constructor for class com.electronwill.nightconfig.core.AbstractCommentedConfig
-
- AbstractCommentedConfig.CommentedEntryWrapper - Class in com.electronwill.nightconfig.core
-
- AbstractConfig - Class in com.electronwill.nightconfig.core
-
An abstract Config that uses a Map to store its values.
- AbstractConfig(boolean) - Constructor for class com.electronwill.nightconfig.core.AbstractConfig
-
Deprecated.
- AbstractConfig(Supplier<Map<String, Object>>) - Constructor for class com.electronwill.nightconfig.core.AbstractConfig
-
Creates a new AbstractConfig with all backing maps supplied by the given Supplier.
- AbstractConfig(Map<String, Object>) - Constructor for class com.electronwill.nightconfig.core.AbstractConfig
-
Creates a new AbstractConfig backed by the specified Map.
- AbstractConfig(UnmodifiableConfig, boolean) - Constructor for class com.electronwill.nightconfig.core.AbstractConfig
-
Deprecated.
- AbstractConfig(UnmodifiableConfig, Supplier<Map<String, Object>>) - Constructor for class com.electronwill.nightconfig.core.AbstractConfig
-
Creates a new AbstractConfig that is a copy of the specified config, and with
all backing maps supplied by the given Supplier.
- AbstractConfig.EntryWrapper - Class in com.electronwill.nightconfig.core
-
A wrapper around a Map.Entry<String, Object>.
- AbstractInput - Class in com.electronwill.nightconfig.core.io
-
Abstract base class for CharacterInputs.
- AbstractInput() - Constructor for class com.electronwill.nightconfig.core.io.AbstractInput
-
- acceptNewVersion(CommentedConfig) - Method in interface com.electronwill.nightconfig.core.file.ConfigLoadFilter
-
Filters the new version of a config, before it has been applied on the config itself.
- add(List<String>, Object) - Method in class com.electronwill.nightconfig.core.AbstractConfig
-
- add(List<String>, Object) - Method in class com.electronwill.nightconfig.core.concurrent.StampedConfig
-
- add(List<String>, Object) - Method in class com.electronwill.nightconfig.core.concurrent.SynchronizedConfig
-
- add(String, Object) - Method in class com.electronwill.nightconfig.core.concurrent.SynchronizedConfig
-
- add(List<String>, Object) - Method in interface com.electronwill.nightconfig.core.Config
-
Adds a config value.
- add(String, Object) - Method in interface com.electronwill.nightconfig.core.Config
-
Adds a config value.
- add(List<String>, Object) - Method in class com.electronwill.nightconfig.core.utils.ConfigWrapper
-
- add(K) - Method in class com.electronwill.nightconfig.core.utils.ObservedSet
-
- add(K) - Method in class com.electronwill.nightconfig.core.utils.ObservedSet2
-
- add(ExternalV) - Method in class com.electronwill.nightconfig.core.utils.TransformingCollection
-
- add(int, ExternalV) - Method in class com.electronwill.nightconfig.core.utils.TransformingList
-
- add(ExternalV) - Method in class com.electronwill.nightconfig.core.utils.TransformingListIterator
-
- addAll(UnmodifiableConfig) - Method in class com.electronwill.nightconfig.core.concurrent.SynchronizedConfig
-
- addAll(UnmodifiableConfig) - Method in interface com.electronwill.nightconfig.core.Config
-
Adds all the values of a config to this config, without replacing existing entries.
- addAll(Collection<? extends K>) - Method in class com.electronwill.nightconfig.core.utils.ObservedSet
-
- addAll(Collection<? extends K>) - Method in class com.electronwill.nightconfig.core.utils.ObservedSet2
-
- addAll(Collection<? extends ExternalV>) - Method in class com.electronwill.nightconfig.core.utils.TransformingCollection
-
- addAll(int, Collection<? extends ExternalV>) - Method in class com.electronwill.nightconfig.core.utils.TransformingList
-
- addFirst(int) - Method in class com.electronwill.nightconfig.core.utils.IntDeque
-
Inserts an element before the head of this deque.
- AdditionalCharsets - Class in com.electronwill.nightconfig.core.io
-
Additional charsets to help parse configurations in an unknown encoding.
- addLast(int) - Method in class com.electronwill.nightconfig.core.utils.IntDeque
-
Inserts an element at the tail of this deque.
- addWatch(File, Runnable) - Method in class com.electronwill.nightconfig.core.file.FileWatcher
-
Watches a file, if not already watched by this FileWatcher.
- addWatch(Path, Runnable) - Method in class com.electronwill.nightconfig.core.file.FileWatcher
-
Watches a file, if not already watched by this FileWatcher.
- addWatchFuture(Path, Runnable) - Method in class com.electronwill.nightconfig.core.file.FileWatcher
-
Watches a File, if not already watched by this FileWatcher.
- AdvancedPath - Annotation Type in com.electronwill.nightconfig.core.conversion
-
- append(char) - Method in class com.electronwill.nightconfig.core.io.CharsWrapper.Builder
-
- append(CharSequence) - Method in class com.electronwill.nightconfig.core.io.CharsWrapper.Builder
-
- append(CharSequence, int, int) - Method in class com.electronwill.nightconfig.core.io.CharsWrapper.Builder
-
- append(char...) - Method in class com.electronwill.nightconfig.core.io.CharsWrapper.Builder
-
Appends a char array to this builder.
- append(char[], int, int) - Method in class com.electronwill.nightconfig.core.io.CharsWrapper.Builder
-
Appends a portion of a char array to this builder.
- append(String) - Method in class com.electronwill.nightconfig.core.io.CharsWrapper.Builder
-
Appends a String to this builder.
- append(String, int, int) - Method in class com.electronwill.nightconfig.core.io.CharsWrapper.Builder
-
Appends a String to this builder.
- append(CharsWrapper) - Method in class com.electronwill.nightconfig.core.io.CharsWrapper.Builder
-
Appends a CharsWrapper to this builder.
- append(Object) - Method in class com.electronwill.nightconfig.core.io.CharsWrapper.Builder
-
Appends the string representation of an object to this builder.
- append(Object...) - Method in class com.electronwill.nightconfig.core.io.CharsWrapper.Builder
-
Appends multiple objects to this builder.
- apply(List<String>) - Method in class com.electronwill.nightconfig.core.concurrent.SynchronizedConfig
-
- apply(String) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
-
For scala: gets a config value.
- apply(List<String>) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
-
For scala: gets a config value.
- arrayContains(char[], char) - Static method in class com.electronwill.nightconfig.core.io.Utils
-
Checks if an array contains the specified element.
- arrayIndexOf(char[], char) - Static method in class com.electronwill.nightconfig.core.io.Utils
-
Returns the index, within the specified array, of the first occurrence of the specified
character.
- ArrayInput - Class in com.electronwill.nightconfig.core.io
-
- ArrayInput(CharsWrapper) - Constructor for class com.electronwill.nightconfig.core.io.ArrayInput
-
Creates a new ArrayInput based on the underlying array of the specified CharsWrapper.
- ArrayInput(char[]) - Constructor for class com.electronwill.nightconfig.core.io.ArrayInput
-
Creates a new ArrayInput based on the specified array.
- ArrayInput(char[], int, int) - Constructor for class com.electronwill.nightconfig.core.io.ArrayInput
-
Creates a new ArrayInput based on the specified array.
- async() - Method in class com.electronwill.nightconfig.core.file.GenericBuilder
-
Makes the configuration "write-asynchronous", that is, its
FileConfig.save()
method does not wait for the write operation to complete.
- asyncWithDebouncing(Duration) - Method in class com.electronwill.nightconfig.core.file.GenericBuilder
-
Makes the configuration "write-asynchronous" and specifies its debouncing time.
- atomicMove - Variable in class com.electronwill.nightconfig.core.file.GenericBuilder
-
- autoLoadListener - Variable in class com.electronwill.nightconfig.core.file.GenericBuilder
-
- autoreload() - Method in class com.electronwill.nightconfig.core.file.GenericBuilder
-
Makes the configuration "autoreloaded", that is, its
FileConfig.load() method is
automatically called when the file is modified.
- autoreload(FileWatcher) - Method in class com.electronwill.nightconfig.core.file.GenericBuilder
-
Makes the configuration "autoreloaded", using the given FileWatcher to monitor the config file.
- autoreloadFileWatcher - Variable in class com.electronwill.nightconfig.core.file.GenericBuilder
-
- autosave - Variable in class com.electronwill.nightconfig.core.file.GenericBuilder
-
- autosave() - Method in class com.electronwill.nightconfig.core.file.GenericBuilder
-
Makes the configuration "autosaved", that is, its
FileConfig.save() method is
automatically called when it is modified.
- autoSaveListener - Variable in class com.electronwill.nightconfig.core.file.GenericBuilder
-
- backingMapCreator(Supplier<Map<String, Object>>) - Method in class com.electronwill.nightconfig.core.file.GenericBuilder
-
Uses a specific Supplier to create the backing maps (one for the top level
and one for each sub-configuration) of the configuration.
- bind(Class<?>) - Method in class com.electronwill.nightconfig.core.conversion.ObjectBinder
-
Creates a new config bound to the static fields of a class.
- bind(Class<?>, ConfigFormat<?>) - Method in class com.electronwill.nightconfig.core.conversion.ObjectBinder
-
Creates a new config bound to the static fields of a class.
- bind(Object) - Method in class com.electronwill.nightconfig.core.conversion.ObjectBinder
-
Creates a new config bound to the fields of a object.
- bind(Object, ConfigFormat<?>) - Method in class com.electronwill.nightconfig.core.conversion.ObjectBinder
-
Creates a new config bound to the fields of a object.
- blankBuilder() - Static method in class com.electronwill.nightconfig.core.serde.ObjectDeserializer
-
- blankBuilder() - Static method in class com.electronwill.nightconfig.core.serde.ObjectSerializer
-
- build() - Method in class com.electronwill.nightconfig.core.file.GenericBuilder
-
Creates a new FileConfig with the chosen settings.
- build() - Method in class com.electronwill.nightconfig.core.io.CharsWrapper.Builder
-
Builds a CharsWrapper with the content of this builder.
- build(int) - Method in class com.electronwill.nightconfig.core.io.CharsWrapper.Builder
-
Builds a CharsWrapper with the content of this builder.
- build(int, int) - Method in class com.electronwill.nightconfig.core.io.CharsWrapper.Builder
-
Builds a CharsWrapper with the content of this builder.
- build() - Method in class com.electronwill.nightconfig.core.serde.ObjectDeserializerBuilder
-
- build() - Method in class com.electronwill.nightconfig.core.serde.ObjectSerializerBuilder
-
- buildAutosave(CommentedFileConfig) - Method in class com.electronwill.nightconfig.core.file.GenericBuilder
-
- builder(File, ConfigFormat<? extends CommentedConfig>) - Static method in interface com.electronwill.nightconfig.core.file.CommentedFileConfig
-
Returns a CommentedFileConfigBuilder to create a CommentedFileConfig with many options.
- builder(File) - Static method in interface com.electronwill.nightconfig.core.file.CommentedFileConfig
-
Returns a CommentedFileConfigBuilder to create a CommentedFileConfig with many options.
- builder(Path, ConfigFormat<? extends CommentedConfig>) - Static method in interface com.electronwill.nightconfig.core.file.CommentedFileConfig
-
Returns a CommentedFileConfigBuilder to create a CommentedFileConfig with many options.
- builder(Path) - Static method in interface com.electronwill.nightconfig.core.file.CommentedFileConfig
-
Returns a CommentedFileConfigBuilder to create a CommentedFileConfig with many options.
- builder(String) - Static method in interface com.electronwill.nightconfig.core.file.CommentedFileConfig
-
Returns a CommentedFileConfigBuilder to create a CommentedFileConfig with many options.
- builder(String, ConfigFormat<? extends CommentedConfig>) - Static method in interface com.electronwill.nightconfig.core.file.CommentedFileConfig
-
Returns a CommentedFileConfigBuilder to create a CommentedFileConfig with many options.
- builder(File) - Static method in interface com.electronwill.nightconfig.core.file.FileConfig
-
Returns a FileConfigBuilder to create a FileConfig with many options.
- builder(File, ConfigFormat<?>) - Static method in interface com.electronwill.nightconfig.core.file.FileConfig
-
Returns a FileConfigBuilder to create a FileConfig with many options.
- builder(Path) - Static method in interface com.electronwill.nightconfig.core.file.FileConfig
-
Returns a FileConfigBuilder to create a FileConfig with many options.
- builder(Path, ConfigFormat<?>) - Static method in interface com.electronwill.nightconfig.core.file.FileConfig
-
Returns a FileConfigBuilder to create a FileConfig with many options.
- builder(String) - Static method in interface com.electronwill.nightconfig.core.file.FileConfig
-
Returns a FileConfigBuilder to create a FileConfig with many options.
- builder(String, ConfigFormat<?>) - Static method in interface com.electronwill.nightconfig.core.file.FileConfig
-
Returns a FileConfigBuilder to create a FileConfig with many options.
- Builder(int) - Constructor for class com.electronwill.nightconfig.core.io.CharsWrapper.Builder
-
Creates a new CharsWrapper's builder with the specified initial capacity.
- builder() - Static method in class com.electronwill.nightconfig.core.serde.ObjectDeserializer
-
- builder() - Static method in class com.electronwill.nightconfig.core.serde.ObjectSerializer
-
- buildNormal(CommentedFileConfig) - Method in class com.electronwill.nightconfig.core.file.GenericBuilder
-
- bulkCommentedRead(Function<? super UnmodifiableCommentedConfig, R>) - Method in interface com.electronwill.nightconfig.core.concurrent.ConcurrentCommentedConfig
-
Performs multiple reads as a single atomic operation, and returns a value.
- bulkCommentedRead(Consumer<? super UnmodifiableCommentedConfig>) - Method in interface com.electronwill.nightconfig.core.concurrent.ConcurrentCommentedConfig
-
Performs multiple reads as a single atomic operation.
- bulkCommentedRead(Function<? super UnmodifiableCommentedConfig, R>) - Method in class com.electronwill.nightconfig.core.concurrent.StampedConfig
-
- bulkCommentedRead(Function<? super UnmodifiableCommentedConfig, R>) - Method in class com.electronwill.nightconfig.core.concurrent.SynchronizedConfig
-
- bulkCommentedRead(Function<? super UnmodifiableCommentedConfig, R>) - Method in class com.electronwill.nightconfig.core.conversion.ConvertedCommentedFileConfig
-
- bulkCommentedRead(Consumer<? super UnmodifiableCommentedConfig>) - Method in class com.electronwill.nightconfig.core.utils.ConcurrentCommentedConfigWrapper
-
- bulkCommentedRead(Function<? super UnmodifiableCommentedConfig, R>) - Method in class com.electronwill.nightconfig.core.utils.ConcurrentCommentedConfigWrapper
-
- bulkCommentedUpdate(Function<? super CommentedConfig, R>) - Method in interface com.electronwill.nightconfig.core.concurrent.ConcurrentCommentedConfig
-
Performs multiple reads and writes as a single atomic operation and returns a value.
- bulkCommentedUpdate(Consumer<? super CommentedConfig>) - Method in interface com.electronwill.nightconfig.core.concurrent.ConcurrentCommentedConfig
-
Performs multiple reads and writes as a single atomic operation.
- bulkCommentedUpdate(Function<? super CommentedConfig, R>) - Method in class com.electronwill.nightconfig.core.concurrent.StampedConfig
-
- bulkCommentedUpdate(Function<? super CommentedConfig, R>) - Method in class com.electronwill.nightconfig.core.concurrent.SynchronizedConfig
-
- bulkCommentedUpdate(Function<? super CommentedConfig, R>) - Method in class com.electronwill.nightconfig.core.conversion.ConvertedCommentedFileConfig
-
- bulkCommentedUpdate(Function<? super CommentedConfig, R>) - Method in interface com.electronwill.nightconfig.core.file.CommentedFileConfig
-
Performs multiple read/write operations, and do not save the configuration until the end
(unless save() is called by action).
- bulkCommentedUpdate(Consumer<? super CommentedConfig>) - Method in interface com.electronwill.nightconfig.core.file.CommentedFileConfig
-
Performs multiple read/write operations, and do not save the configuration until the end
(unless save() is called by action).
- bulkCommentedUpdate(Consumer<? super CommentedConfig>) - Method in class com.electronwill.nightconfig.core.utils.ConcurrentCommentedConfigWrapper
-
- bulkCommentedUpdate(Function<? super CommentedConfig, R>) - Method in class com.electronwill.nightconfig.core.utils.ConcurrentCommentedConfigWrapper
-
- bulkRead(Function<? super UnmodifiableConfig, R>) - Method in interface com.electronwill.nightconfig.core.concurrent.ConcurrentCommentedConfig
-
- bulkRead(Function<? super UnmodifiableConfig, R>) - Method in interface com.electronwill.nightconfig.core.concurrent.ConcurrentConfig
-
Performs multiple reads as a single atomic operation and returns a value.
- bulkRead(Consumer<? super UnmodifiableConfig>) - Method in interface com.electronwill.nightconfig.core.concurrent.ConcurrentConfig
-
Performs multiple reads as a single atomic operation.
- bulkRead(Function<? super UnmodifiableConfig, R>) - Method in class com.electronwill.nightconfig.core.concurrent.StampedConfig
-
- bulkRead(Function<? super UnmodifiableConfig, R>) - Method in class com.electronwill.nightconfig.core.conversion.ConvertedCommentedFileConfig
-
- bulkRead(Function<? super UnmodifiableConfig, R>) - Method in class com.electronwill.nightconfig.core.conversion.ConvertedFileConfig
-
- bulkRead(Consumer<? super UnmodifiableConfig>) - Method in class com.electronwill.nightconfig.core.utils.ConcurrentCommentedConfigWrapper
-
- bulkRead(Function<? super UnmodifiableConfig, R>) - Method in class com.electronwill.nightconfig.core.utils.ConcurrentCommentedConfigWrapper
-
- bulkUpdate(Function<? super Config, R>) - Method in interface com.electronwill.nightconfig.core.concurrent.ConcurrentCommentedConfig
-
- bulkUpdate(Function<? super Config, R>) - Method in interface com.electronwill.nightconfig.core.concurrent.ConcurrentConfig
-
Performs multiple reads and writes as a single atomic operation and returns a value.
- bulkUpdate(Consumer<? super Config>) - Method in interface com.electronwill.nightconfig.core.concurrent.ConcurrentConfig
-
Performs multiple reads and writes as a single atomic operation.
- bulkUpdate(Function<? super Config, R>) - Method in class com.electronwill.nightconfig.core.concurrent.StampedConfig
-
- bulkUpdate(Function<? super Config, R>) - Method in class com.electronwill.nightconfig.core.conversion.ConvertedCommentedFileConfig
-
- bulkUpdate(Function<? super Config, R>) - Method in class com.electronwill.nightconfig.core.conversion.ConvertedFileConfig
-
- bulkUpdate(Function<? super Config, R>) - Method in interface com.electronwill.nightconfig.core.file.CommentedFileConfig
-
- bulkUpdate(Function<? super Config, R>) - Method in interface com.electronwill.nightconfig.core.file.FileConfig
-
Performs multiple read/write operations, and do not save the configuration until the end
(unless save() is called by action).
- bulkUpdate(Consumer<? super Config>) - Method in interface com.electronwill.nightconfig.core.file.FileConfig
-
Performs multiple read/write operations, and do not save the configuration until the end
(unless save() is called by action).
- bulkUpdate(Consumer<? super Config>) - Method in class com.electronwill.nightconfig.core.utils.ConcurrentCommentedConfigWrapper
-
- bulkUpdate(Function<? super Config, R>) - Method in class com.electronwill.nightconfig.core.utils.ConcurrentCommentedConfigWrapper
-
- chainThen(ConversionTable) - Method in class com.electronwill.nightconfig.core.conversion.ConversionTable
-
Returns a ConversionTable that behaves as if the specified table was applied just after
this table, for every conversion.
- CharacterInput - Interface in com.electronwill.nightconfig.core.io
-
Interface for sources of characters.
- characteristics() - Method in class com.electronwill.nightconfig.core.utils.TransformingSpliterator
-
- CharacterOutput - Interface in com.electronwill.nightconfig.core.io
-
Interface for outputs of characters.
- charAt(int) - Method in class com.electronwill.nightconfig.core.io.CharsWrapper
-
- chars - Variable in enum com.electronwill.nightconfig.core.io.IndentStyle
-
- chars - Variable in enum com.electronwill.nightconfig.core.io.NewlineStyle
-
- charset - Variable in class com.electronwill.nightconfig.core.file.GenericBuilder
-
- charset(Charset) - Method in class com.electronwill.nightconfig.core.file.GenericBuilder
-
- CharsWrapper - Class in com.electronwill.nightconfig.core.io
-
A simple, efficient implementation of CharSequence, designed to avoid data copying and to
maximize performance.
- CharsWrapper(char...) - Constructor for class com.electronwill.nightconfig.core.io.CharsWrapper
-
Creates a new CharsWrapper backed by the given char array.
- CharsWrapper(char[], int, int) - Constructor for class com.electronwill.nightconfig.core.io.CharsWrapper
-
Creates a new CharsWrapper backed by the given char array.
- CharsWrapper(String) - Constructor for class com.electronwill.nightconfig.core.io.CharsWrapper
-
Creates a new CharsWrapper containing the same characters as the specified String.
- CharsWrapper(String, int, int) - Constructor for class com.electronwill.nightconfig.core.io.CharsWrapper
-
Creates a new CharsWrapper containing the same characters as the specified String.
- CharsWrapper(CharSequence) - Constructor for class com.electronwill.nightconfig.core.io.CharsWrapper
-
Creates a new CharsWrapper containing the same characters as the specified CharSequence.
- CharsWrapper(CharSequence, int, int) - Constructor for class com.electronwill.nightconfig.core.io.CharsWrapper
-
Creates a new CharsWrapper containing the same characters as the specified CharSequence.
- CharsWrapper.Builder - Class in com.electronwill.nightconfig.core.io
-
Builder class for constructing CharsWrappers.
- checked() - Method in interface com.electronwill.nightconfig.core.CommentedConfig
-
- checked() - Method in interface com.electronwill.nightconfig.core.Config
-
Returns a checked view of the config.
- checked() - Method in interface com.electronwill.nightconfig.core.file.CommentedFileConfig
-
- checked() - Method in interface com.electronwill.nightconfig.core.file.FileConfig
-
- clear() - Method in class com.electronwill.nightconfig.core.AbstractCommentedConfig
-
- clear() - Method in class com.electronwill.nightconfig.core.AbstractConfig
-
- clear() - Method in class com.electronwill.nightconfig.core.concurrent.StampedConfig
-
- clear() - Method in class com.electronwill.nightconfig.core.concurrent.SynchronizedConfig
-
- clear() - Method in interface com.electronwill.nightconfig.core.Config
-
Removes all values from the config.
- clear() - Method in class com.electronwill.nightconfig.core.utils.ConfigWrapper
-
- clear() - Method in class com.electronwill.nightconfig.core.utils.IntDeque
-
Clears this deque.
- clear() - Method in class com.electronwill.nightconfig.core.utils.ObservedMap
-
- clear() - Method in class com.electronwill.nightconfig.core.utils.ObservedSet
-
- clear() - Method in class com.electronwill.nightconfig.core.utils.ObservedSet2
-
- clear() - Method in class com.electronwill.nightconfig.core.utils.TransformingCollection
-
- clear() - Method in class com.electronwill.nightconfig.core.utils.TransformingMap
-
- clearComments() - Method in class com.electronwill.nightconfig.core.AbstractCommentedConfig
-
- clearComments() - Method in interface com.electronwill.nightconfig.core.CommentedConfig
-
Removes all the comments from the config.
- clearComments() - Method in class com.electronwill.nightconfig.core.concurrent.StampedConfig
-
- clearComments() - Method in class com.electronwill.nightconfig.core.concurrent.SynchronizedConfig
-
- clearComments() - Method in class com.electronwill.nightconfig.core.utils.CommentedConfigWrapper
-
- clearComments() - Method in class com.electronwill.nightconfig.core.utils.FakeCommentedConfig
-
- clone() - Method in class com.electronwill.nightconfig.core.AbstractCommentedConfig
-
- clone() - Method in class com.electronwill.nightconfig.core.AbstractConfig
-
Creates and return a copy of this config.
- clone() - Method in class com.electronwill.nightconfig.core.concurrent.StampedConfig.Accumulator
-
- clone() - Method in class com.electronwill.nightconfig.core.conversion.ConversionTable
-
- clone() - Method in class com.electronwill.nightconfig.core.io.CharsWrapper
-
Creates and returns a copy of this CharsWrapper.
- close() - Method in class com.electronwill.nightconfig.core.conversion.ConvertedCommentedFileConfig
-
- close() - Method in class com.electronwill.nightconfig.core.conversion.ConvertedFileConfig
-
- close() - Method in interface com.electronwill.nightconfig.core.file.FileConfig
-
Closes this FileConfig, releases its associated resources (if any), and ensure that the
ongoing saving operations complete.
- close() - Method in class com.electronwill.nightconfig.core.io.CharsWrapper.Builder
-
- close() - Method in class com.electronwill.nightconfig.core.utils.FastStringReader
-
- com.electronwill.nightconfig.core - package com.electronwill.nightconfig.core
-
This is the main package of the NightConfig library.
- com.electronwill.nightconfig.core.concurrent - package com.electronwill.nightconfig.core.concurrent
-
Provides configurations that can be used from multiple threads.
- com.electronwill.nightconfig.core.conversion - package com.electronwill.nightconfig.core.conversion
-
(deprecated) Provides tools for converting configurations to/from Java objects, and converting config values on the fly.
- com.electronwill.nightconfig.core.file - package com.electronwill.nightconfig.core.file
-
Provides configurations that are loaded from and saved to files.
- com.electronwill.nightconfig.core.io - package com.electronwill.nightconfig.core.io
-
Provides basic parsing and writing interfaces, and bricks to implement new parsers and writers.
- com.electronwill.nightconfig.core.serde - package com.electronwill.nightconfig.core.serde
-
Provides tools for serializing values to configurations, and deserializing configurations to Java objects.
- com.electronwill.nightconfig.core.serde.annotations - package com.electronwill.nightconfig.core.serde.annotations
-
Annotations that change how Java objects are (de)serialized.
- com.electronwill.nightconfig.core.utils - package com.electronwill.nightconfig.core.utils
-
Contains various utilities, mainly used by NightConfig internals.
- CommentedConfig - Interface in com.electronwill.nightconfig.core
-
A modifiable config that supports comments.
- CommentedConfig.Entry - Interface in com.electronwill.nightconfig.core
-
A modifiable commented config entry.
- CommentedConfigWrapper<C extends CommentedConfig> - Class in com.electronwill.nightconfig.core.utils
-
- CommentedConfigWrapper(C) - Constructor for class com.electronwill.nightconfig.core.utils.CommentedConfigWrapper
-
- CommentedEntryWrapper(Map.Entry<String, Object>) - Constructor for class com.electronwill.nightconfig.core.AbstractCommentedConfig.CommentedEntryWrapper
-
- CommentedFileConfig - Interface in com.electronwill.nightconfig.core.file
-
A commented configuration that is tied to a particular file.
- CommentedFileConfigBuilder - Class in com.electronwill.nightconfig.core.file
-
- commentMap - Variable in class com.electronwill.nightconfig.core.AbstractCommentedConfig
-
- commentMap() - Method in class com.electronwill.nightconfig.core.AbstractCommentedConfig
-
- commentMap() - Method in interface com.electronwill.nightconfig.core.CommentedConfig
-
- commentMap() - Method in class com.electronwill.nightconfig.core.concurrent.StampedConfig
-
- commentMap() - Method in class com.electronwill.nightconfig.core.concurrent.SynchronizedConfig
-
- commentMap() - Method in interface com.electronwill.nightconfig.core.UnmodifiableCommentedConfig
-
- commentMap() - Method in class com.electronwill.nightconfig.core.utils.CommentedConfigWrapper
-
- commentMap() - Method in class com.electronwill.nightconfig.core.utils.FakeCommentedConfig
-
- commentMap() - Method in class com.electronwill.nightconfig.core.utils.FakeUnmodifiableCommentedConfig
-
- CommentNode(String, Map<String, UnmodifiableCommentedConfig.CommentNode>) - Constructor for class com.electronwill.nightconfig.core.UnmodifiableCommentedConfig.CommentNode
-
Creates a new CommentNode.
- compact() - Method in class com.electronwill.nightconfig.core.io.CharsWrapper.Builder
-
Compacts this builder, minimizing its size in memory.
- compact() - Method in class com.electronwill.nightconfig.core.utils.IntDeque
-
Compacts this deque, minimizing its size in memory.
- compute(K, BiFunction<? super K, ? super V, ? extends V>) - Method in class com.electronwill.nightconfig.core.utils.ObservedMap
-
- compute(K, BiFunction<? super K, ? super ExternalV, ? extends ExternalV>) - Method in class com.electronwill.nightconfig.core.utils.TransformingMap
-
- computeIfAbsent(K, Function<? super K, ? extends V>) - Method in class com.electronwill.nightconfig.core.utils.ObservedMap
-
- computeIfAbsent(K, Function<? super K, ? extends ExternalV>) - Method in class com.electronwill.nightconfig.core.utils.TransformingMap
-
- computeIfPresent(K, BiFunction<? super K, ? super V, ? extends V>) - Method in class com.electronwill.nightconfig.core.utils.ObservedMap
-
- computeIfPresent(K, BiFunction<? super K, ? super ExternalV, ? extends ExternalV>) - Method in class com.electronwill.nightconfig.core.utils.TransformingMap
-
- concurrent() - Method in class com.electronwill.nightconfig.core.file.GenericBuilder
-
- ConcurrentCommentedConfig - Interface in com.electronwill.nightconfig.core.concurrent
-
Interface for thread-safe configurations with comments.
- ConcurrentCommentedConfigWrapper<C extends ConcurrentCommentedConfig> - Class in com.electronwill.nightconfig.core.utils
-
- ConcurrentCommentedConfigWrapper(C) - Constructor for class com.electronwill.nightconfig.core.utils.ConcurrentCommentedConfigWrapper
-
- ConcurrentConfig - Interface in com.electronwill.nightconfig.core.concurrent
-
Interface for thread-safe configurations.
- ConcurrentConfigSpec - Class in com.electronwill.nightconfig.core
-
- ConcurrentConfigSpec() - Constructor for class com.electronwill.nightconfig.core.ConcurrentConfigSpec
-
Deprecated.
Creates a new ConfigSpec backed by a ConcurrentMap.
- concurrentCopy(UnmodifiableConfig) - Static method in interface com.electronwill.nightconfig.core.CommentedConfig
-
- concurrentCopy(UnmodifiableConfig, ConfigFormat<?>) - Static method in interface com.electronwill.nightconfig.core.CommentedConfig
-
- concurrentCopy(UnmodifiableCommentedConfig) - Static method in interface com.electronwill.nightconfig.core.CommentedConfig
-
- concurrentCopy(UnmodifiableCommentedConfig, ConfigFormat<?>) - Static method in interface com.electronwill.nightconfig.core.CommentedConfig
-
- concurrentCopy(UnmodifiableConfig) - Static method in interface com.electronwill.nightconfig.core.Config
-
- concurrentCopy(UnmodifiableConfig, ConfigFormat<?>) - Static method in interface com.electronwill.nightconfig.core.Config
-
- Config - Interface in com.electronwill.nightconfig.core
-
A (modifiable) configuration that contains key/value mappings.
- config - Variable in class com.electronwill.nightconfig.core.utils.UnmodifiableConfigWrapper
-
- Config.Entry - Interface in com.electronwill.nightconfig.core
-
A modifiable config entry.
- configFormat() - Method in class com.electronwill.nightconfig.core.concurrent.StampedConfig.Accumulator
-
- configFormat() - Method in class com.electronwill.nightconfig.core.concurrent.StampedConfig
-
- configFormat() - Method in class com.electronwill.nightconfig.core.concurrent.SynchronizedConfig
-
- ConfigFormat<C extends Config> - Interface in com.electronwill.nightconfig.core
-
A configuration format, that can parse, create and write some types of configurations.
- configFormat() - Method in class com.electronwill.nightconfig.core.serde.SerializerContext
-
- configFormat() - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
-
Returns the config's format.
- configFormat() - Method in class com.electronwill.nightconfig.core.utils.UnmodifiableConfigWrapper
-
- ConfigLoadFilter - Interface in com.electronwill.nightconfig.core.file
-
A filter that is applied when a
FileConfig is loaded and reloaded.
- ConfigParser<C extends Config> - Interface in com.electronwill.nightconfig.core.io
-
Interface for reading configurations.
- ConfigSpec - Class in com.electronwill.nightconfig.core
-
Represents a specification for a configuration.
- ConfigSpec() - Constructor for class com.electronwill.nightconfig.core.ConfigSpec
-
- ConfigSpec(Config) - Constructor for class com.electronwill.nightconfig.core.ConfigSpec
-
- ConfigSpec.CorrectionAction - Enum in com.electronwill.nightconfig.core
-
What to do when a value is incorrect.
- ConfigSpec.CorrectionListener - Interface in com.electronwill.nightconfig.core
-
- ConfigWrapper<C extends Config> - Class in com.electronwill.nightconfig.core.utils
-
- ConfigWrapper(C) - Constructor for class com.electronwill.nightconfig.core.utils.ConfigWrapper
-
- ConfigWriter - Interface in com.electronwill.nightconfig.core.io
-
Interface for writing configurations.
- consumeDeque(char[], int, boolean) - Method in class com.electronwill.nightconfig.core.io.AbstractInput
-
Consumes the chars of the deque and put them in an array.
- contains(List<String>) - Method in class com.electronwill.nightconfig.core.AbstractConfig
-
- contains(List<String>) - Method in class com.electronwill.nightconfig.core.concurrent.StampedConfig
-
- contains(List<String>) - Method in class com.electronwill.nightconfig.core.concurrent.SynchronizedConfig
-
- contains(Class<?>) - Method in class com.electronwill.nightconfig.core.conversion.ConversionTable
-
Checks that a function is defined for the specified class.
- contains(char) - Method in class com.electronwill.nightconfig.core.io.CharsWrapper
-
Checks if this CharsWrapper contains the specified character.
- contains(String) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
-
Checks if the config contains a value at some path.
- contains(List<String>) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
-
Checks if the config contains a value at some path.
- contains(Object) - Method in class com.electronwill.nightconfig.core.utils.ObservedSet
-
- contains(Object) - Method in class com.electronwill.nightconfig.core.utils.ObservedSet2
-
- contains(Object) - Method in class com.electronwill.nightconfig.core.utils.TransformingCollection
-
- contains(List<String>) - Method in class com.electronwill.nightconfig.core.utils.UnmodifiableConfigWrapper
-
- containsAll(Collection<?>) - Method in class com.electronwill.nightconfig.core.utils.ObservedSet
-
- containsAll(Collection<?>) - Method in class com.electronwill.nightconfig.core.utils.ObservedSet2
-
- containsAll(Collection<?>) - Method in class com.electronwill.nightconfig.core.utils.TransformingCollection
-
- containsComment(List<String>) - Method in class com.electronwill.nightconfig.core.AbstractCommentedConfig
-
- containsComment(List<String>) - Method in class com.electronwill.nightconfig.core.concurrent.StampedConfig
-
- containsComment(List<String>) - Method in class com.electronwill.nightconfig.core.concurrent.SynchronizedConfig
-
- containsComment(String) - Method in interface com.electronwill.nightconfig.core.UnmodifiableCommentedConfig
-
Checks if the config contains a comment at some path.
- containsComment(List<String>) - Method in interface com.electronwill.nightconfig.core.UnmodifiableCommentedConfig
-
Checks if the config contains a comment at some path.
- containsComment(List<String>) - Method in class com.electronwill.nightconfig.core.utils.CommentedConfigWrapper
-
- containsComment(List<String>) - Method in class com.electronwill.nightconfig.core.utils.FakeCommentedConfig
-
- containsComment(List<String>) - Method in class com.electronwill.nightconfig.core.utils.FakeUnmodifiableCommentedConfig
-
- containsKey(Object) - Method in class com.electronwill.nightconfig.core.utils.ObservedMap
-
- containsKey(Object) - Method in class com.electronwill.nightconfig.core.utils.TransformingMap
-
- containsValue(Object) - Method in class com.electronwill.nightconfig.core.utils.ObservedMap
-
- containsValue(Object) - Method in class com.electronwill.nightconfig.core.utils.TransformingMap
-
- contentEquals(CharSequence) - Method in class com.electronwill.nightconfig.core.io.CharsWrapper
-
Compares this CharsWrapper to a CharSequence.
- contentEquals(char[]) - Method in class com.electronwill.nightconfig.core.io.CharsWrapper
-
Compares this CharsWrapper to an array of characters.
- Conversion - Annotation Type in com.electronwill.nightconfig.core.conversion
-
- ConversionTable - Class in com.electronwill.nightconfig.core.conversion
-
Contains conversions functions organized by value's type.
- ConversionTable() - Constructor for class com.electronwill.nightconfig.core.conversion.ConversionTable
-
Creates a new empty ConversionTable.
- convert(Config) - Static method in class com.electronwill.nightconfig.core.concurrent.SynchronizedConfig
-
- convert(Object) - Method in class com.electronwill.nightconfig.core.conversion.ConversionTable
-
Converts a value using the conversion function that corresponds to its type.
- convertDeep(Config) - Method in class com.electronwill.nightconfig.core.conversion.ConversionTable
-
Performs a deep in-place conversion of a Config.
- ConvertedCommentedConfig - Class in com.electronwill.nightconfig.core.conversion
-
A Config's wrapper that converts the values that are read from and put into the config.
- ConvertedCommentedConfig(CommentedConfig, ConversionTable, ConversionTable, Predicate<Class<?>>) - Constructor for class com.electronwill.nightconfig.core.conversion.ConvertedCommentedConfig
-
Creates a new ConvertedConfig that uses two conversion tables.
- ConvertedCommentedConfig(CommentedConfig, Function<Object, Object>, Function<Object, Object>, Predicate<Class<?>>) - Constructor for class com.electronwill.nightconfig.core.conversion.ConvertedCommentedConfig
-
Creates a new ConvertedConfig that uses two custom conversion functions.
- ConvertedCommentedFileConfig - Class in com.electronwill.nightconfig.core.conversion
-
- ConvertedCommentedFileConfig(CommentedFileConfig, ConversionTable, ConversionTable, Predicate<Class<?>>) - Constructor for class com.electronwill.nightconfig.core.conversion.ConvertedCommentedFileConfig
-
- ConvertedCommentedFileConfig(CommentedFileConfig, Function<Object, Object>, Function<Object, Object>, Predicate<Class<?>>) - Constructor for class com.electronwill.nightconfig.core.conversion.ConvertedCommentedFileConfig
-
- ConvertedConfig - Class in com.electronwill.nightconfig.core.conversion
-
A Config's wrapper that converts the values that are read from and put into the config
- ConvertedConfig(Config, ConversionTable, ConversionTable, Predicate<Class<?>>) - Constructor for class com.electronwill.nightconfig.core.conversion.ConvertedConfig
-
Creates a new ConvertedConfig that uses two conversion tables.
- ConvertedConfig(Config, Function<Object, Object>, Function<Object, Object>, Predicate<Class<?>>) - Constructor for class com.electronwill.nightconfig.core.conversion.ConvertedConfig
-
Creates a new ConvertedConfig that uses two custom conversion functions.
- ConvertedFileConfig - Class in com.electronwill.nightconfig.core.conversion
-
- ConvertedFileConfig(FileConfig, ConversionTable, ConversionTable, Predicate<Class<?>>) - Constructor for class com.electronwill.nightconfig.core.conversion.ConvertedFileConfig
-
- ConvertedFileConfig(FileConfig, Function<Object, Object>, Function<Object, Object>, Predicate<Class<?>>) - Constructor for class com.electronwill.nightconfig.core.conversion.ConvertedFileConfig
-
- ConvertedFormat<C extends Config,F extends ConfigFormat<C>> - Class in com.electronwill.nightconfig.core.conversion
-
- ConvertedFormat(F, Predicate<Class<?>>) - Constructor for class com.electronwill.nightconfig.core.conversion.ConvertedFormat
-
- Converter<FieldType,ConfigValueType> - Interface in com.electronwill.nightconfig.core.conversion
-
- convertFromField(FieldType) - Method in interface com.electronwill.nightconfig.core.conversion.Converter
-
Deprecated.
- convertShallow(Config) - Method in class com.electronwill.nightconfig.core.conversion.ConversionTable
-
Performs a shallow in-place conversion of a Config.
- convertToField(ConfigValueType) - Method in interface com.electronwill.nightconfig.core.conversion.Converter
-
Deprecated.
- copy(UnmodifiableConfig) - Static method in interface com.electronwill.nightconfig.core.CommentedConfig
-
Creates a new CommentedConfig with the content of the given config.
- copy(UnmodifiableConfig, Supplier<Map<String, Object>>) - Static method in interface com.electronwill.nightconfig.core.CommentedConfig
-
Creates a new CommentedConfig with the content of the given config.
- copy(UnmodifiableConfig, ConfigFormat<?>) - Static method in interface com.electronwill.nightconfig.core.CommentedConfig
-
Creates a new CommentedConfig with the content of the given config.
- copy(UnmodifiableConfig, Supplier<Map<String, Object>>, ConfigFormat<?>) - Static method in interface com.electronwill.nightconfig.core.CommentedConfig
-
Creates a new CommentedConfig with the content of the given config.
- copy(UnmodifiableCommentedConfig) - Static method in interface com.electronwill.nightconfig.core.CommentedConfig
-
Creates a new CommentedConfig with the content of the given config.
- copy(UnmodifiableCommentedConfig, Supplier<Map<String, Object>>) - Static method in interface com.electronwill.nightconfig.core.CommentedConfig
-
Creates a new CommentedConfig with the content of the given config.
- copy(UnmodifiableCommentedConfig, ConfigFormat<?>) - Static method in interface com.electronwill.nightconfig.core.CommentedConfig
-
Creates a new CommentedConfig with the content of the given config.
- copy(UnmodifiableCommentedConfig, Supplier<Map<String, Object>>, ConfigFormat<? extends CommentedConfig>) - Static method in interface com.electronwill.nightconfig.core.CommentedConfig
-
Creates a new CommentedConfig with the content of the given config.
- copy(UnmodifiableConfig) - Static method in interface com.electronwill.nightconfig.core.Config
-
Creates a new Config with the content of the given config.
- copy(UnmodifiableConfig, Supplier<Map<String, Object>>) - Static method in interface com.electronwill.nightconfig.core.Config
-
Creates a new Config with the content of the given config.
- copy(UnmodifiableConfig, ConfigFormat<?>) - Static method in interface com.electronwill.nightconfig.core.Config
-
Creates a new Config with the content of the given config.
- copy(UnmodifiableConfig, Supplier<Map<String, Object>>, ConfigFormat<?>) - Static method in interface com.electronwill.nightconfig.core.Config
-
Creates a new Config with the content of the given config.
- copyAndBuild() - Method in class com.electronwill.nightconfig.core.io.CharsWrapper.Builder
-
Builds a CharsWrapper with a copy of the content of this builder.
- copyAndBuild(int) - Method in class com.electronwill.nightconfig.core.io.CharsWrapper.Builder
-
Builds a CharsWrapper with a copy of the content of this builder.
- copyAndBuild(int, int) - Method in class com.electronwill.nightconfig.core.io.CharsWrapper.Builder
-
Builds a CharsWrapper with a copy of the content of this builder.
- copyData(URL) - Static method in interface com.electronwill.nightconfig.core.file.FileNotFoundAction
-
Action: copies the data at the given url.
- copyData(File) - Static method in interface com.electronwill.nightconfig.core.file.FileNotFoundAction
-
Action: copies the specified file.
- copyData(Path) - Static method in interface com.electronwill.nightconfig.core.file.FileNotFoundAction
-
Action: copies the specified file.
- copyData(InputStream) - Static method in interface com.electronwill.nightconfig.core.file.FileNotFoundAction
-
Action: copies the stream's data.
- copyResource(String) - Static method in interface com.electronwill.nightconfig.core.file.FileNotFoundAction
-
Action: copies the inner resource.
- correct(String, Object) - Method in class com.electronwill.nightconfig.core.ConfigSpec
-
Corrects a value.
- correct(List<String>, Object) - Method in class com.electronwill.nightconfig.core.ConfigSpec
-
Corrects a value.
- correct(Config) - Method in class com.electronwill.nightconfig.core.ConfigSpec
-
Corrects a configuration.
- correct(Config, ConfigSpec.CorrectionListener) - Method in class com.electronwill.nightconfig.core.ConfigSpec
-
Corrects a configuration.
- CREATE_EMPTY - Static variable in interface com.electronwill.nightconfig.core.file.FileNotFoundAction
-
- createCommentedConfig() - Method in class com.electronwill.nightconfig.core.serde.SerializerContext
-
- createConcurrentConfig() - Method in interface com.electronwill.nightconfig.core.ConfigFormat
-
Creates a config of this format.
- createConcurrentConfig() - Method in class com.electronwill.nightconfig.core.conversion.ConvertedFormat
-
- createConfig() - Method in interface com.electronwill.nightconfig.core.ConfigFormat
-
- createConfig(Supplier<Map<String, Object>>) - Method in interface com.electronwill.nightconfig.core.ConfigFormat
-
Creates a config that uses the given map supplier for all its levels (top
level and subconfigs).
- createConfig() - Method in class com.electronwill.nightconfig.core.conversion.ConvertedFormat
-
- createConfig(Supplier<Map<String, Object>>) - Method in class com.electronwill.nightconfig.core.conversion.ConvertedFormat
-
- createConfig(Supplier<Map<String, Object>>) - Method in class com.electronwill.nightconfig.core.InMemoryCommentedFormat
-
- createConfig(Supplier<Map<String, Object>>) - Method in class com.electronwill.nightconfig.core.InMemoryFormat
-
- createConfig() - Method in class com.electronwill.nightconfig.core.serde.SerializerContext
-
- createParser() - Method in interface com.electronwill.nightconfig.core.ConfigFormat
-
- createParser() - Method in class com.electronwill.nightconfig.core.conversion.ConvertedFormat
-
- createParser() - Method in class com.electronwill.nightconfig.core.InMemoryCommentedFormat
-
- createParser() - Method in class com.electronwill.nightconfig.core.InMemoryFormat
-
- createSubConfig() - Method in interface com.electronwill.nightconfig.core.CommentedConfig
-
- createSubConfig() - Method in interface com.electronwill.nightconfig.core.concurrent.ConcurrentCommentedConfig
-
- createSubConfig() - Method in interface com.electronwill.nightconfig.core.concurrent.ConcurrentConfig
-
Creates a new configuration that is meant to be inserted into this config.
- createSubConfig() - Method in class com.electronwill.nightconfig.core.concurrent.StampedConfig.Accumulator
-
- createSubConfig() - Method in class com.electronwill.nightconfig.core.concurrent.StampedConfig
-
- createSubConfig() - Method in class com.electronwill.nightconfig.core.concurrent.SynchronizedConfig
-
- createSubConfig() - Method in interface com.electronwill.nightconfig.core.Config
-
- createSubConfig() - Method in class com.electronwill.nightconfig.core.conversion.ConvertedCommentedFileConfig
-
- createSubConfig() - Method in class com.electronwill.nightconfig.core.conversion.ConvertedFileConfig
-
- createSubConfig() - Method in class com.electronwill.nightconfig.core.utils.CommentedConfigWrapper
-
- createSubConfig() - Method in class com.electronwill.nightconfig.core.utils.ConcurrentCommentedConfigWrapper
-
- createSubConfig() - Method in class com.electronwill.nightconfig.core.utils.ConfigWrapper
-
- createSubConfig() - Method in class com.electronwill.nightconfig.core.utils.FakeCommentedConfig
-
- createWriter() - Method in interface com.electronwill.nightconfig.core.ConfigFormat
-
- createWriter() - Method in class com.electronwill.nightconfig.core.conversion.ConvertedFormat
-
- createWriter() - Method in class com.electronwill.nightconfig.core.InMemoryCommentedFormat
-
- createWriter() - Method in class com.electronwill.nightconfig.core.InMemoryFormat
-
- GenericBuilder<Base extends Config,Result extends FileConfig> - Class in com.electronwill.nightconfig.core.file
-
A generic FileConfig/CommentedFileConfig/someOtherFileConfig builder.
- get(List<String>) - Method in class com.electronwill.nightconfig.core.concurrent.SynchronizedConfig
-
- get(Object, Class<T>) - Method in enum com.electronwill.nightconfig.core.EnumGetMethod
-
- get(int) - Method in class com.electronwill.nightconfig.core.io.CharsWrapper.Builder
-
- get(int) - Method in class com.electronwill.nightconfig.core.io.CharsWrapper
-
- get(String) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
-
Gets a value from the config.
- get(List<String>) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
-
Gets a value from the config.
- get(int) - Method in class com.electronwill.nightconfig.core.utils.IntDeque
-
Gets the element at the specified index of this deque, without removing it.
- get(Object) - Method in class com.electronwill.nightconfig.core.utils.ObservedMap
-
- get(int) - Method in class com.electronwill.nightconfig.core.utils.TransformingList
-
- get(Object) - Method in class com.electronwill.nightconfig.core.utils.TransformingMap
-
- get() - Method in interface com.electronwill.nightconfig.core.utils.WriterSupplier
-
- getByte() - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig.Entry
-
- getByte(String) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
-
- getByte(List<String>) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
-
- getByteOrElse(byte) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig.Entry
-
- getByteOrElse(String, byte) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
-
- getByteOrElse(List<String>, byte) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
-
- getChar() - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig.Entry
-
If the value is a Number, returns Number.intValue(), cast to char.
- getChar(String) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
-
Returns a char value from the configuration.
- getChar(List<String>) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
-
Returns a char value from the configuration.
- getCharOrElse(char) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig.Entry
-
- getCharOrElse(String, char) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
-
Returns a char value from the configuration.
- getCharOrElse(List<String>, char) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
-
Returns a char value from the configuration.
- getChars() - Method in class com.electronwill.nightconfig.core.io.CharsWrapper.Builder
-
Gets the underlying array of this builder.
- getChildren() - Method in class com.electronwill.nightconfig.core.UnmodifiableCommentedConfig.CommentNode
-
- getComment() - Method in class com.electronwill.nightconfig.core.AbstractCommentedConfig.CommentedEntryWrapper
-
- getComment(List<String>) - Method in class com.electronwill.nightconfig.core.AbstractCommentedConfig
-
- getComment(List<String>) - Method in class com.electronwill.nightconfig.core.concurrent.StampedConfig
-
- getComment(List<String>) - Method in class com.electronwill.nightconfig.core.concurrent.SynchronizedConfig
-
- getComment() - Method in class com.electronwill.nightconfig.core.UnmodifiableCommentedConfig.CommentNode
-
- getComment() - Method in interface com.electronwill.nightconfig.core.UnmodifiableCommentedConfig.Entry
-
- getComment(String) - Method in interface com.electronwill.nightconfig.core.UnmodifiableCommentedConfig
-
Gets a comment from the config.
- getComment(List<String>) - Method in interface com.electronwill.nightconfig.core.UnmodifiableCommentedConfig
-
Gets a comment from the config.
- getComment(List<String>) - Method in class com.electronwill.nightconfig.core.utils.CommentedConfigWrapper
-
- getComment(List<String>) - Method in class com.electronwill.nightconfig.core.utils.FakeCommentedConfig
-
- getComment(List<String>) - Method in class com.electronwill.nightconfig.core.utils.FakeUnmodifiableCommentedConfig
-
- getComments() - Method in class com.electronwill.nightconfig.core.concurrent.SynchronizedConfig
-
- getComments(Map<String, UnmodifiableCommentedConfig.CommentNode>) - Method in class com.electronwill.nightconfig.core.concurrent.SynchronizedConfig
-
- getComments() - Method in interface com.electronwill.nightconfig.core.UnmodifiableCommentedConfig
-
Returns a Map containing a deep copy of all the comments in the config.
- getComments(Map<String, UnmodifiableCommentedConfig.CommentNode>) - Method in interface com.electronwill.nightconfig.core.UnmodifiableCommentedConfig
-
Puts all the config's comments to the specified map.
- getComments() - Method in class com.electronwill.nightconfig.core.utils.CommentedConfigWrapper
-
- getComments() - Method in class com.electronwill.nightconfig.core.utils.FakeCommentedConfig
-
- getComments() - Method in class com.electronwill.nightconfig.core.utils.FakeUnmodifiableCommentedConfig
-
- getComparator() - Method in class com.electronwill.nightconfig.core.utils.TransformingSpliterator
-
- getDefaultCommentMap(boolean) - Static method in class com.electronwill.nightconfig.core.AbstractCommentedConfig
-
Deprecated.
- getDefaultMapCreator(boolean) - Static method in class com.electronwill.nightconfig.core.AbstractConfig
-
Deprecated.
- getDefaultMapCreator(boolean, boolean) - Static method in interface com.electronwill.nightconfig.core.Config
-
- getDefaultMapCreator(boolean) - Static method in interface com.electronwill.nightconfig.core.Config
-
- getEnum(String, Class<T>, EnumGetMethod) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
-
Gets an Enum value from the config.
- getEnum(String, Class<T>) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
-
- getEnum(List<String>, Class<T>, EnumGetMethod) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
-
Gets an Enum value from the config.
- getEnum(List<String>, Class<T>) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
-
- getEnumOrElse(String, T, EnumGetMethod) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
-
Gets an Enum value from the config.
- getEnumOrElse(String, T) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
-
- getEnumOrElse(List<String>, T, EnumGetMethod) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
-
Gets an Enum value from the config.
- getEnumOrElse(List<String>, T) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
-
- getEnumOrElse(String, Class<T>, EnumGetMethod, Supplier<T>) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
-
Gets an Enum value from the config.
- getEnumOrElse(String, Class<T>, Supplier<T>) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
-
- getEnumOrElse(List<String>, Class<T>, EnumGetMethod, Supplier<T>) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
-
Gets an Enum value from the config.
- getEnumOrElse(List<String>, Class<T>, Supplier<T>) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
-
- getExactSizeIfKnown() - Method in class com.electronwill.nightconfig.core.utils.TransformingSpliterator
-
- getFile() - Method in class com.electronwill.nightconfig.core.conversion.ConvertedCommentedFileConfig
-
- getFile() - Method in class com.electronwill.nightconfig.core.conversion.ConvertedFileConfig
-
- getFile() - Method in interface com.electronwill.nightconfig.core.file.FileConfig
-
- getFirst() - Method in class com.electronwill.nightconfig.core.utils.IntDeque
-
Gets the first element (head) of this deque without removing it.
- getFormat() - Method in interface com.electronwill.nightconfig.core.io.ConfigParser
-
- getFullType() - Method in class com.electronwill.nightconfig.core.serde.TypeConstraint
-
Returns a Type that represents the full type constraint.
- getInt() - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig.Entry
-
- getInt(String) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
-
- getInt(List<String>) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
-
- getIntOrElse(int) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig.Entry
-
- getIntOrElse(String, int) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
-
- getIntOrElse(List<String>, int) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
-
- getIntOrElse(String, IntSupplier) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
-
- getIntOrElse(List<String>, IntSupplier) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
-
- getKey() - Method in class com.electronwill.nightconfig.core.AbstractConfig.EntryWrapper
-
- getKey() - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig.Entry
-
- getKey() - Method in class com.electronwill.nightconfig.core.utils.ObservedEntry
-
- getLast() - Method in class com.electronwill.nightconfig.core.utils.IntDeque
-
Gets the last element of this deque without removing it.
- getLong() - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig.Entry
-
- getLong(String) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
-
- getLong(List<String>) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
-
- getLongOrElse(long) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig.Entry
-
- getLongOrElse(String, long) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
-
- getLongOrElse(List<String>, long) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
-
- getLongOrElse(String, LongSupplier) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
-
- getLongOrElse(List<String>, LongSupplier) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
-
- getNioPath() - Method in class com.electronwill.nightconfig.core.conversion.ConvertedCommentedFileConfig
-
- getNioPath() - Method in class com.electronwill.nightconfig.core.conversion.ConvertedFileConfig
-
- getNioPath() - Method in interface com.electronwill.nightconfig.core.file.FileConfig
-
- getOptional() - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig.Entry
-
- getOptional(String) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
-
Gets an optional value from the config.
- getOptional(List<String>) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
-
Gets an optional value from the config.
- getOptionalComment(String) - Method in interface com.electronwill.nightconfig.core.UnmodifiableCommentedConfig
-
Gets an optional comment from the config.
- getOptionalComment(List<String>) - Method in interface com.electronwill.nightconfig.core.UnmodifiableCommentedConfig
-
Gets an optional comment from the config.
- getOptionalEnum(String, Class<T>, EnumGetMethod) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
-
Gets an optional Enum value from the config.
- getOptionalEnum(String, Class<T>) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
-
- getOptionalEnum(List<String>, Class<T>, EnumGetMethod) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
-
Gets an optional Enum value from the config.
- getOptionalEnum(List<String>, Class<T>) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
-
- getOptionalInt() - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig.Entry
-
- getOptionalInt(String) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
-
- getOptionalInt(List<String>) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
-
- getOptionalLong() - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig.Entry
-
- getOptionalLong(String) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
-
- getOptionalLong(List<String>) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
-
- getOrDefault(Object, ExternalV) - Method in class com.electronwill.nightconfig.core.utils.TransformingMap
-
- getOrElse(T) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig.Entry
-
- getOrElse(String, T) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
-
Gets a value from the config.
- getOrElse(List<String>, T) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
-
Gets a value from the config.
- getOrElse(List<String>, Supplier<T>) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
-
Gets a value from the config.
- getOrElse(String, Supplier<T>) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
-
Gets a value from the config.
- getPath() - Method in class com.electronwill.nightconfig.core.AbstractCommentedConfig.CommentedEntryWrapper
-
- getRaw(List<String>) - Method in class com.electronwill.nightconfig.core.AbstractConfig
-
- getRaw(List<String>) - Method in class com.electronwill.nightconfig.core.concurrent.StampedConfig
-
- getRaw(List<String>) - Method in class com.electronwill.nightconfig.core.concurrent.SynchronizedConfig
-
- getRaw(String) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
-
Gets a value from the config.
- getRaw(List<String>) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
-
Gets a value from the config.
- getRaw(List<String>) - Method in class com.electronwill.nightconfig.core.utils.UnmodifiableConfigWrapper
-
- getRawValue() - Method in class com.electronwill.nightconfig.core.AbstractConfig.EntryWrapper
-
- getRawValue() - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig.Entry
-
- getSatisfyingRawType() - Method in class com.electronwill.nightconfig.core.serde.TypeConstraint
-
Returns a Class that can satisfy the type constraint, if it can be found.
- getShort() - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig.Entry
-
- getShort(String) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
-
- getShort(List<String>) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
-
- getShortOrElse(short) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig.Entry
-
- getShortOrElse(String, short) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
-
- getShortOrElse(List<String>, short) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
-
- getValue() - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig.Entry
-
- getValue() - Method in class com.electronwill.nightconfig.core.utils.ObservedEntry
-
- getWildcardMapCreator(Supplier<Map<String, Object>>) - Static method in class com.electronwill.nightconfig.core.AbstractConfig
-
- IncompatibleIntermediaryLevelException - Exception in com.electronwill.nightconfig.core
-
- IncompatibleIntermediaryLevelException(String) - Constructor for exception com.electronwill.nightconfig.core.IncompatibleIntermediaryLevelException
-
- IndentStyle - Enum in com.electronwill.nightconfig.core.io
-
A style of indent.
- indexOf(char) - Method in class com.electronwill.nightconfig.core.io.CharsWrapper
-
Returns the index within this CharsWrapper of the first occurrence of the specified
character.
- indexOf(Object) - Method in class com.electronwill.nightconfig.core.utils.TransformingList
-
- indexOfFirst(char...) - Method in class com.electronwill.nightconfig.core.io.CharsWrapper
-
Returns the index within this CharsWrapper of the first occurrence of one of the specified
characters.
- initEmptyFile(Path) - Method in interface com.electronwill.nightconfig.core.ConfigFormat
-
Initializes an empty configuration file so that it can be parsed to an empty configuration.
- initEmptyFile(File) - Method in interface com.electronwill.nightconfig.core.ConfigFormat
-
Initializes an empty configuration file so that it can be parsed to an empty configuration.
- initEmptyFile(WriterSupplier) - Method in interface com.electronwill.nightconfig.core.ConfigFormat
-
Initializes an empty configuration file so that it can be parsed to an empty configuration.
- initEmptyFile(Writer) - Method in interface com.electronwill.nightconfig.core.ConfigFormat
-
Initializes an empty configuration file so that it can be parsed to an empty configuration.
- inMemory() - Static method in interface com.electronwill.nightconfig.core.CommentedConfig
-
- inMemory() - Static method in interface com.electronwill.nightconfig.core.Config
-
- InMemoryCommentedFormat - Class in com.electronwill.nightconfig.core
-
- inMemoryConcurrent() - Static method in interface com.electronwill.nightconfig.core.CommentedConfig
-
- inMemoryConcurrent() - Static method in interface com.electronwill.nightconfig.core.Config
-
- InMemoryFormat - Class in com.electronwill.nightconfig.core
-
A ConfigFormat that is only in memory.
- inMemoryUniversal() - Static method in interface com.electronwill.nightconfig.core.Config
-
- inMemoryUniversalConcurrent() - Static method in interface com.electronwill.nightconfig.core.Config
-
- IntDeque - Class in com.electronwill.nightconfig.core.utils
-
A deque of integers that increases its capacity as necessary.
- IntDeque() - Constructor for class com.electronwill.nightconfig.core.utils.IntDeque
-
Creates a new IntDeque with an initial capacity of 4.
- IntDeque(int) - Constructor for class com.electronwill.nightconfig.core.utils.IntDeque
-
Creates a new IntDeque with the specified initial capacity.
- internalCollection - Variable in class com.electronwill.nightconfig.core.utils.TransformingCollection
-
- internalIterator - Variable in class com.electronwill.nightconfig.core.utils.TransformingIterator
-
- InvalidValueException - Exception in com.electronwill.nightconfig.core.conversion
-
- InvalidValueException(String) - Constructor for exception com.electronwill.nightconfig.core.conversion.InvalidValueException
-
Deprecated.
- InvalidValueException(String, Throwable) - Constructor for exception com.electronwill.nightconfig.core.conversion.InvalidValueException
-
Deprecated.
- InvalidValueException(String, Object...) - Constructor for exception com.electronwill.nightconfig.core.conversion.InvalidValueException
-
Deprecated.
Creates a new InvalidException with a formatted message.
- IoUtils - Class in com.electronwill.nightconfig.core.io
-
IO utilities for INTERNAL use only (do not use oustide of night-config).
- IoUtils() - Constructor for class com.electronwill.nightconfig.core.io.IoUtils
-
- IoUtils.IoRunnable - Interface in com.electronwill.nightconfig.core.io
-
Like Runnable, but with a throwable IOException.
- IoUtils.RetryFailedException - Exception in com.electronwill.nightconfig.core.io
-
- isCaseSensitive() - Method in enum com.electronwill.nightconfig.core.EnumGetMethod
-
- isCorrect(String, Object) - Method in class com.electronwill.nightconfig.core.ConfigSpec
-
Checks that a value is conform to the specification.
- isCorrect(List<String>, Object) - Method in class com.electronwill.nightconfig.core.ConfigSpec
-
Checks that a value is conform to the specification.
- isCorrect(Config) - Method in class com.electronwill.nightconfig.core.ConfigSpec
-
Checks that a configuration is conform to the specification.
- isDefined(String) - Method in class com.electronwill.nightconfig.core.ConfigSpec
-
Checks if an entry has been defined.
- isDefined(List<String>) - Method in class com.electronwill.nightconfig.core.ConfigSpec
-
Checks if an entry has been defined.
- isEmpty() - Method in class com.electronwill.nightconfig.core.concurrent.SynchronizedConfig
-
- isEmpty() - Method in class com.electronwill.nightconfig.core.io.CharsWrapper
-
Checks if this CharsWrapper is empty, ie if its length is zero.
- isEmpty() - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
-
Checks if the config is empty.
- isEmpty() - Method in class com.electronwill.nightconfig.core.utils.IntDeque
-
- isEmpty() - Method in class com.electronwill.nightconfig.core.utils.ObservedMap
-
- isEmpty() - Method in class com.electronwill.nightconfig.core.utils.ObservedSet
-
- isEmpty() - Method in class com.electronwill.nightconfig.core.utils.ObservedSet2
-
- isEmpty() - Method in class com.electronwill.nightconfig.core.utils.TransformingCollection
-
- isEmpty() - Method in class com.electronwill.nightconfig.core.utils.TransformingMap
-
- isEmpty() - Method in class com.electronwill.nightconfig.core.utils.UnmodifiableConfigWrapper
-
- isInMemory() - Method in interface com.electronwill.nightconfig.core.ConfigFormat
-
Checks if this format is in memory only and therefore cannot create writers nor parsers.
- isInMemory() - Method in class com.electronwill.nightconfig.core.InMemoryCommentedFormat
-
- isInMemory() - Method in class com.electronwill.nightconfig.core.InMemoryFormat
-
- isInsertionOrderPreserved() - Static method in interface com.electronwill.nightconfig.core.Config
-
Checks if the newly created configs keep the insertion order of their content.
- isNull(List<String>) - Method in class com.electronwill.nightconfig.core.AbstractConfig
-
- isNull(List<String>) - Method in class com.electronwill.nightconfig.core.concurrent.SynchronizedConfig
-
- isNull() - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig.Entry
-
- isNull(String) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
-
Checks if the config contains a null value at some path.
- isNull(List<String>) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
-
Checks if the config contains a null value at some path.
- isOrdinalOk() - Method in enum com.electronwill.nightconfig.core.EnumGetMethod
-
- iterator() - Method in class com.electronwill.nightconfig.core.io.CharsWrapper
-
- iterator() - Method in class com.electronwill.nightconfig.core.utils.ObservedSet
-
- iterator() - Method in class com.electronwill.nightconfig.core.utils.ObservedSet2
-
- iterator() - Method in class com.electronwill.nightconfig.core.utils.TransformingCollection
-
- ObjectBinder - Class in com.electronwill.nightconfig.core.conversion
-
Creates configurations bound to an object or class, getting its values from its fields.
- ObjectBinder(boolean, boolean) - Constructor for class com.electronwill.nightconfig.core.conversion.ObjectBinder
-
Creates a new ObjectBinder with advanced parameters.
- ObjectBinder() - Constructor for class com.electronwill.nightconfig.core.conversion.ObjectBinder
-
Creates a new ObjectBinder with the default parameters.
- ObjectConverter - Class in com.electronwill.nightconfig.core.conversion
-
- ObjectConverter(boolean, boolean) - Constructor for class com.electronwill.nightconfig.core.conversion.ObjectConverter
-
Deprecated.
Creates a new ObjectConverter with advanced parameters.
- ObjectConverter() - Constructor for class com.electronwill.nightconfig.core.conversion.ObjectConverter
-
- ObjectDeserializer - Class in com.electronwill.nightconfig.core.serde
-
- ObjectDeserializerBuilder - Class in com.electronwill.nightconfig.core.serde
-
- ObjectSerializer - Class in com.electronwill.nightconfig.core.serde
-
- ObjectSerializerBuilder - Class in com.electronwill.nightconfig.core.serde
-
- ObservedEntry<K,V> - Class in com.electronwill.nightconfig.core.utils
-
- ObservedEntry(Map.Entry<K, V>, Runnable) - Constructor for class com.electronwill.nightconfig.core.utils.ObservedEntry
-
- ObservedIterator<E> - Class in com.electronwill.nightconfig.core.utils
-
- ObservedIterator(Iterator<E>, Runnable) - Constructor for class com.electronwill.nightconfig.core.utils.ObservedIterator
-
- ObservedMap<K,V> - Class in com.electronwill.nightconfig.core.utils
-
- ObservedMap(Map<K, V>, Runnable) - Constructor for class com.electronwill.nightconfig.core.utils.ObservedMap
-
- ObservedSet<K> - Class in com.electronwill.nightconfig.core.utils
-
- ObservedSet(Set<K>, Runnable) - Constructor for class com.electronwill.nightconfig.core.utils.ObservedSet
-
- ObservedSet2<K,KImpl extends K> - Class in com.electronwill.nightconfig.core.utils
-
- ObservedSet2(Runnable, Set<KImpl>, Function<K, KImpl>) - Constructor for class com.electronwill.nightconfig.core.utils.ObservedSet2
-
- of(ConfigFormat<? extends CommentedConfig>) - Static method in interface com.electronwill.nightconfig.core.CommentedConfig
-
Creates a CommentedConfig of the given format.
- of(Supplier<Map<String, Object>>, ConfigFormat<? extends CommentedConfig>) - Static method in interface com.electronwill.nightconfig.core.CommentedConfig
-
Creates a Config backed by a certain kind of map, given by a supplier.
- of(ConfigFormat<? extends Config>) - Static method in interface com.electronwill.nightconfig.core.Config
-
Creates a Config of the given format.
- of(Supplier<Map<String, Object>>, ConfigFormat<?>) - Static method in interface com.electronwill.nightconfig.core.Config
-
Creates a Config backed by a certain kind of map, given by a supplier.
- of(File) - Static method in interface com.electronwill.nightconfig.core.file.CommentedFileConfig
-
Creates a new FileConfig based on the specified file and format.
- of(File, ConfigFormat<? extends CommentedConfig>) - Static method in interface com.electronwill.nightconfig.core.file.CommentedFileConfig
-
Creates a new FileConfig based on the specified file and format.
- of(Path) - Static method in interface com.electronwill.nightconfig.core.file.CommentedFileConfig
-
Creates a new FileConfig based on the specified file and format.
- of(Path, ConfigFormat<? extends CommentedConfig>) - Static method in interface com.electronwill.nightconfig.core.file.CommentedFileConfig
-
Creates a new FileConfig based on the specified file and format.
- of(String) - Static method in interface com.electronwill.nightconfig.core.file.CommentedFileConfig
-
Creates a new FileConfig based on the specified file and format.
- of(String, ConfigFormat<? extends CommentedConfig>) - Static method in interface com.electronwill.nightconfig.core.file.CommentedFileConfig
-
Creates a new FileConfig based on the specified file and format.
- of(File) - Static method in interface com.electronwill.nightconfig.core.file.FileConfig
-
Creates a new FileConfig based on the specified file.
- of(File, ConfigFormat<? extends Config>) - Static method in interface com.electronwill.nightconfig.core.file.FileConfig
-
Creates a new FileConfig based on the specified file and format.
- of(Path) - Static method in interface com.electronwill.nightconfig.core.file.FileConfig
-
Creates a new FileConfig based on the specified file.
- of(Path, ConfigFormat<? extends Config>) - Static method in interface com.electronwill.nightconfig.core.file.FileConfig
-
Creates a new FileConfig based on the specified file and format.
- of(String) - Static method in interface com.electronwill.nightconfig.core.file.FileConfig
-
Creates a new FileConfig based on the specified file.
- of(String, ConfigFormat<?>) - Static method in interface com.electronwill.nightconfig.core.file.FileConfig
-
Creates a new FileConfig based on the specified file and format.
- ofConcurrent(ConfigFormat<? extends CommentedConfig>) - Static method in interface com.electronwill.nightconfig.core.CommentedConfig
-
- ofConcurrent(ConfigFormat<? extends Config>) - Static method in interface com.electronwill.nightconfig.core.Config
-
- ofConcurrent(File) - Static method in interface com.electronwill.nightconfig.core.file.CommentedFileConfig
-
- ofConcurrent(File, ConfigFormat<? extends CommentedConfig>) - Static method in interface com.electronwill.nightconfig.core.file.CommentedFileConfig
-
- ofConcurrent(Path) - Static method in interface com.electronwill.nightconfig.core.file.CommentedFileConfig
-
- ofConcurrent(Path, ConfigFormat<? extends CommentedConfig>) - Static method in interface com.electronwill.nightconfig.core.file.CommentedFileConfig
-
- ofConcurrent(String, ConfigFormat<? extends CommentedConfig>) - Static method in interface com.electronwill.nightconfig.core.file.CommentedFileConfig
-
- ofConcurrent(String) - Static method in interface com.electronwill.nightconfig.core.file.CommentedFileConfig
-
- ofConcurrent(File) - Static method in interface com.electronwill.nightconfig.core.file.FileConfig
-
- ofConcurrent(File, ConfigFormat<?>) - Static method in interface com.electronwill.nightconfig.core.file.FileConfig
-
- ofConcurrent(Path) - Static method in interface com.electronwill.nightconfig.core.file.FileConfig
-
- ofConcurrent(Path, ConfigFormat<?>) - Static method in interface com.electronwill.nightconfig.core.file.FileConfig
-
- ofConcurrent(String) - Static method in interface com.electronwill.nightconfig.core.file.FileConfig
-
- ofConcurrent(String, ConfigFormat<?>) - Static method in interface com.electronwill.nightconfig.core.file.FileConfig
-
- onAutoReload(Runnable) - Method in class com.electronwill.nightconfig.core.file.GenericBuilder
-
When the configuration is automatically (re)loaded, calls the given listener.
- onAutoSave(Runnable) - Method in class com.electronwill.nightconfig.core.file.GenericBuilder
-
When the configuration triggers an automatic save, calls the given listener.
- onCorrect(ConfigSpec.CorrectionAction, List<String>, Object, Object) - Method in interface com.electronwill.nightconfig.core.ConfigSpec.CorrectionListener
-
Called when a config value is added, modified or removed by the correction.
- onFileNotFound(FileNotFoundAction) - Method in class com.electronwill.nightconfig.core.file.GenericBuilder
-
Sets the action to execute when the config's file is not found.
- onLoad(Runnable) - Method in class com.electronwill.nightconfig.core.file.GenericBuilder
-
When the configuration is (re)loaded, calls the given listener.
- onLoadFilter(ConfigLoadFilter) - Method in class com.electronwill.nightconfig.core.file.GenericBuilder
-
When the configuration is (re)loaded, applies the given filter first.
- onSave(Runnable) - Method in class com.electronwill.nightconfig.core.file.GenericBuilder
-
When the configuration is saved, calls the given listener.
- parallelStream() - Method in class com.electronwill.nightconfig.core.utils.TransformingCollection
-
- parse(Reader) - Method in interface com.electronwill.nightconfig.core.io.ConfigParser
-
Parses a configuration.
- parse(Reader, Config, ParsingMode) - Method in interface com.electronwill.nightconfig.core.io.ConfigParser
-
Parses a configuration.
- parse(String) - Method in interface com.electronwill.nightconfig.core.io.ConfigParser
-
Parses a configuration String.
- parse(String, Config, ParsingMode) - Method in interface com.electronwill.nightconfig.core.io.ConfigParser
-
Parses a configuration String.
- parse(InputStream) - Method in interface com.electronwill.nightconfig.core.io.ConfigParser
-
Parses a configuration with the UTF-8 charset.
- parse(InputStream, Charset) - Method in interface com.electronwill.nightconfig.core.io.ConfigParser
-
Parses a configuration.
- parse(InputStream, Config, ParsingMode) - Method in interface com.electronwill.nightconfig.core.io.ConfigParser
-
Parses a configuration with the UTF-8 charset.
- parse(InputStream, Config, ParsingMode, Charset) - Method in interface com.electronwill.nightconfig.core.io.ConfigParser
-
Parses a configuration.
- parse(File, FileNotFoundAction) - Method in interface com.electronwill.nightconfig.core.io.ConfigParser
-
Parses a configuration with the UTF-8 charset.
- parse(File, FileNotFoundAction, Charset) - Method in interface com.electronwill.nightconfig.core.io.ConfigParser
-
Parses a configuration.
- parse(File, Config, ParsingMode, FileNotFoundAction) - Method in interface com.electronwill.nightconfig.core.io.ConfigParser
-
Parses a configuration with the UTF-8 charset.
- parse(File, Config, ParsingMode, FileNotFoundAction, Charset) - Method in interface com.electronwill.nightconfig.core.io.ConfigParser
-
Parses a configuration.
- parse(Path, FileNotFoundAction) - Method in interface com.electronwill.nightconfig.core.io.ConfigParser
-
Parses a configuration with the UTF-8 charset.
- parse(Path, FileNotFoundAction, Charset) - Method in interface com.electronwill.nightconfig.core.io.ConfigParser
-
Parses a configuration.
- parse(Path, Config, ParsingMode, FileNotFoundAction) - Method in interface com.electronwill.nightconfig.core.io.ConfigParser
-
Parses a configuration with the UTF-8 charset.
- parse(Path, Config, ParsingMode, FileNotFoundAction, Charset) - Method in interface com.electronwill.nightconfig.core.io.ConfigParser
-
Parses a configuration.
- parse(URL) - Method in interface com.electronwill.nightconfig.core.io.ConfigParser
-
Parses a configuration.
- parse(URL, Config, ParsingMode) - Method in interface com.electronwill.nightconfig.core.io.ConfigParser
-
Parses a configuration.
- parseDouble(CharsWrapper) - Static method in class com.electronwill.nightconfig.core.io.Utils
-
Parses a CharsWrapper that represents a double value.
- parseInt(CharsWrapper, int) - Static method in class com.electronwill.nightconfig.core.io.Utils
-
Parses a CharsWrapper that represents an int value in the specified base.
- parseLong(CharsWrapper, int) - Static method in class com.electronwill.nightconfig.core.io.Utils
-
Parses a CharsWrapper that represents a long value in the specified base.
- parser - Variable in class com.electronwill.nightconfig.core.file.GenericBuilder
-
- ParsingException - Exception in com.electronwill.nightconfig.core.io
-
Thrown when a parsing operation fails.
- ParsingException(String) - Constructor for exception com.electronwill.nightconfig.core.io.ParsingException
-
- ParsingException(String, Throwable) - Constructor for exception com.electronwill.nightconfig.core.io.ParsingException
-
- parsingMode - Variable in class com.electronwill.nightconfig.core.file.GenericBuilder
-
- parsingMode(ParsingMode) - Method in class com.electronwill.nightconfig.core.file.GenericBuilder
-
- ParsingMode - Enum in com.electronwill.nightconfig.core.io
-
- Path - Annotation Type in com.electronwill.nightconfig.core.conversion
-
- peek() - Method in class com.electronwill.nightconfig.core.io.AbstractInput
-
- peek(int) - Method in class com.electronwill.nightconfig.core.io.AbstractInput
-
- peek() - Method in interface com.electronwill.nightconfig.core.io.CharacterInput
-
Returns the next character, without moving the reading position forward.
- peek(int) - Method in interface com.electronwill.nightconfig.core.io.CharacterInput
-
Returns the next (n+1)th character, without moving the reading position forward.
- peekChar() - Method in class com.electronwill.nightconfig.core.io.AbstractInput
-
- peekChar(int) - Method in class com.electronwill.nightconfig.core.io.AbstractInput
-
- peekChar() - Method in interface com.electronwill.nightconfig.core.io.CharacterInput
-
Returns the next character, without moving the reading position forward.
- peekChar(int) - Method in interface com.electronwill.nightconfig.core.io.CharacterInput
-
Returns the next (n+1)th character, without moving the reading position forward.
- prepareParsing(Config) - Method in enum com.electronwill.nightconfig.core.io.ParsingMode
-
Prepare the config to be parsed with this mode.
- preserveInsertionOrder - Variable in class com.electronwill.nightconfig.core.file.GenericBuilder
-
- preserveInsertionOrder() - Method in class com.electronwill.nightconfig.core.file.GenericBuilder
-
Makes the configuration preserve the insertion order of its values.
- PreserveNotNull - Annotation Type in com.electronwill.nightconfig.core.conversion
-
- previous() - Method in class com.electronwill.nightconfig.core.utils.TransformingListIterator
-
- previousIndex() - Method in class com.electronwill.nightconfig.core.utils.TransformingListIterator
-
- provide(Class<?>, TypeConstraint) - Method in interface com.electronwill.nightconfig.core.serde.ValueDeserializerProvider
-
Provides a deserializer for a value of class valueClass and a constraint
on the result type.
- provide(Class<?>, SerializerContext) - Method in interface com.electronwill.nightconfig.core.serde.ValueSerializerProvider
-
Provides a serializer for a value of class valueClass.
- pushBack(char) - Method in class com.electronwill.nightconfig.core.io.AbstractInput
-
- pushBack(char) - Method in interface com.electronwill.nightconfig.core.io.CharacterInput
-
Pushes a character back to the input, so that it will be returned by the next reading
operation.
- put(Class<T>, Function<? super T, Object>) - Method in class com.electronwill.nightconfig.core.conversion.ConversionTable
-
Puts a conversion function to the table.
- put(Config, List<String>, Object) - Method in enum com.electronwill.nightconfig.core.io.ParsingMode
-
Puts (set or add) a value into the config
- put(Config, String, Object) - Method in enum com.electronwill.nightconfig.core.io.ParsingMode
-
Puts (set or add) a value into the config
- put(Map<String, Object>, String, Object) - Method in enum com.electronwill.nightconfig.core.io.ParsingMode
-
Puts (set or add) a value into the config
- put(K, V) - Method in class com.electronwill.nightconfig.core.utils.ObservedMap
-
- put(K, ExternalV) - Method in class com.electronwill.nightconfig.core.utils.TransformingMap
-
- putAll(UnmodifiableConfig) - Method in class com.electronwill.nightconfig.core.concurrent.StampedConfig
-
- putAll(UnmodifiableConfig) - Method in class com.electronwill.nightconfig.core.concurrent.SynchronizedConfig
-
- putAll(UnmodifiableConfig) - Method in interface com.electronwill.nightconfig.core.Config
-
Copies all the values of a config into this config.
- putAll(Map<? extends K, ? extends V>) - Method in class com.electronwill.nightconfig.core.utils.ObservedMap
-
- putAll(Map<? extends K, ? extends ExternalV>) - Method in class com.electronwill.nightconfig.core.utils.TransformingMap
-
- putAllComments(Map<String, UnmodifiableCommentedConfig.CommentNode>) - Method in interface com.electronwill.nightconfig.core.CommentedConfig
-
Puts the comments in the given map to this config.
- putAllComments(UnmodifiableCommentedConfig) - Method in interface com.electronwill.nightconfig.core.CommentedConfig
-
Puts the comments in the given config to this config.
- putAllComments(UnmodifiableCommentedConfig) - Method in class com.electronwill.nightconfig.core.concurrent.StampedConfig
-
- putAllComments(Map<String, UnmodifiableCommentedConfig.CommentNode>) - Method in class com.electronwill.nightconfig.core.concurrent.StampedConfig
-
- putAllComments(Map<String, UnmodifiableCommentedConfig.CommentNode>) - Method in class com.electronwill.nightconfig.core.concurrent.SynchronizedConfig
-
- putAllComments(UnmodifiableCommentedConfig) - Method in class com.electronwill.nightconfig.core.concurrent.SynchronizedConfig
-
- putAllComments(Map<String, UnmodifiableCommentedConfig.CommentNode>) - Method in class com.electronwill.nightconfig.core.utils.CommentedConfigWrapper
-
- putAllComments(UnmodifiableCommentedConfig) - Method in class com.electronwill.nightconfig.core.utils.CommentedConfigWrapper
-
- putAllComments(Map<String, UnmodifiableCommentedConfig.CommentNode>) - Method in class com.electronwill.nightconfig.core.utils.FakeCommentedConfig
-
- putAllComments(UnmodifiableCommentedConfig) - Method in class com.electronwill.nightconfig.core.utils.FakeCommentedConfig
-
- putIfAbsent(K, V) - Method in class com.electronwill.nightconfig.core.utils.ObservedMap
-
- putIfAbsent(K, ExternalV) - Method in class com.electronwill.nightconfig.core.utils.TransformingMap
-
- read() - Method in class com.electronwill.nightconfig.core.io.AbstractInput
-
- read(int) - Method in class com.electronwill.nightconfig.core.io.ArrayInput
-
- read() - Method in interface com.electronwill.nightconfig.core.io.CharacterInput
-
Reads the next character.
- read(int) - Method in interface com.electronwill.nightconfig.core.io.CharacterInput
-
Reads the next n characters, if possible.
- read(int) - Method in class com.electronwill.nightconfig.core.io.ReaderInput
-
- read() - Method in class com.electronwill.nightconfig.core.utils.FastStringReader
-
- read(char[], int, int) - Method in class com.electronwill.nightconfig.core.utils.FastStringReader
-
- READ_NOTHING - Static variable in interface com.electronwill.nightconfig.core.file.FileNotFoundAction
-
- readAndSkip(char[]) - Method in interface com.electronwill.nightconfig.core.io.CharacterInput
-
Reads the next characters, skipping some characters.
- readChar() - Method in class com.electronwill.nightconfig.core.io.AbstractInput
-
- readChar() - Method in interface com.electronwill.nightconfig.core.io.CharacterInput
-
Reads the next character, throwing an exception if there is no more available data.
- readCharAndSkip(char[]) - Method in interface com.electronwill.nightconfig.core.io.CharacterInput
-
Reads the next characters, skipping some characters.
- readChars(int) - Method in class com.electronwill.nightconfig.core.io.ArrayInput
-
- readChars(int) - Method in interface com.electronwill.nightconfig.core.io.CharacterInput
-
Reads the next n characters.
- readChars(int) - Method in class com.electronwill.nightconfig.core.io.ReaderInput
-
- readCharsUntil(char[]) - Method in class com.electronwill.nightconfig.core.io.AbstractInput
-
- readCharsUntil(char[]) - Method in interface com.electronwill.nightconfig.core.io.CharacterInput
-
Reads all the characters until a character contained in
stop is reached, and returns
the
CharsWrapper that contains all the characters before the stop.
- ReaderInput - Class in com.electronwill.nightconfig.core.io
-
- ReaderInput(Reader) - Constructor for class com.electronwill.nightconfig.core.io.ReaderInput
-
- readFailed(Throwable) - Static method in exception com.electronwill.nightconfig.core.io.ParsingException
-
- readTransformation - Variable in class com.electronwill.nightconfig.core.utils.TransformingCollection
-
- readTransformation - Variable in class com.electronwill.nightconfig.core.utils.TransformingIterator
-
- readUntil(char[]) - Method in class com.electronwill.nightconfig.core.io.AbstractInput
-
- readUntil(char[]) - Method in interface com.electronwill.nightconfig.core.io.CharacterInput
-
Reads all the character until a character containde in
stop is reached or there is no
more available data, and returns the
CharsWrapper that contains all the characters
before the stop (or the end of the data).
- ready() - Method in class com.electronwill.nightconfig.core.utils.FastStringReader
-
- ReflectionException - Exception in com.electronwill.nightconfig.core.conversion
-
- ReflectionException(String) - Constructor for exception com.electronwill.nightconfig.core.conversion.ReflectionException
-
Deprecated.
- ReflectionException(String, Throwable) - Constructor for exception com.electronwill.nightconfig.core.conversion.ReflectionException
-
Deprecated.
- registerExtension(String, ConfigFormat<?>) - Static method in class com.electronwill.nightconfig.core.file.FormatDetector
-
Registers a ConfigFormat for a specific fileExtension.
- registerExtension(String, Supplier<ConfigFormat<?>>) - Static method in class com.electronwill.nightconfig.core.file.FormatDetector
-
Registers a ConfigFormat's supplier for a specific fileExtension.
- remove(List<String>) - Method in class com.electronwill.nightconfig.core.AbstractConfig
-
- remove(List<String>) - Method in class com.electronwill.nightconfig.core.concurrent.StampedConfig
-
- remove(List<String>) - Method in class com.electronwill.nightconfig.core.concurrent.SynchronizedConfig
-
- remove(String) - Method in class com.electronwill.nightconfig.core.concurrent.SynchronizedConfig
-
- remove(String) - Method in interface com.electronwill.nightconfig.core.Config
-
Removes a value from the config.
- remove(List<String>) - Method in interface com.electronwill.nightconfig.core.Config
-
Removes a value from the config.
- remove(Class<?>) - Method in class com.electronwill.nightconfig.core.conversion.ConversionTable
-
Removes the function that is currently defined for the specified class, if any.
- remove(List<String>) - Method in class com.electronwill.nightconfig.core.utils.ConfigWrapper
-
- remove() - Method in class com.electronwill.nightconfig.core.utils.ObservedIterator
-
- remove(Object) - Method in class com.electronwill.nightconfig.core.utils.ObservedMap
-
- remove(Object, Object) - Method in class com.electronwill.nightconfig.core.utils.ObservedMap
-
- remove(Object) - Method in class com.electronwill.nightconfig.core.utils.ObservedSet
-
- remove(Object) - Method in class com.electronwill.nightconfig.core.utils.ObservedSet2
-
- remove(Object) - Method in class com.electronwill.nightconfig.core.utils.TransformingCollection
-
- remove() - Method in class com.electronwill.nightconfig.core.utils.TransformingIterator
-
- remove(int) - Method in class com.electronwill.nightconfig.core.utils.TransformingList
-
- remove(Object) - Method in class com.electronwill.nightconfig.core.utils.TransformingMap
-
- remove(Object, Object) - Method in class com.electronwill.nightconfig.core.utils.TransformingMap
-
- removeAll(UnmodifiableConfig) - Method in class com.electronwill.nightconfig.core.concurrent.StampedConfig
-
- removeAll(UnmodifiableConfig) - Method in class com.electronwill.nightconfig.core.concurrent.SynchronizedConfig
-
- removeAll(UnmodifiableConfig) - Method in interface com.electronwill.nightconfig.core.Config
-
Removes all the values of the given config from this config.
- removeAll(Collection<?>) - Method in class com.electronwill.nightconfig.core.utils.ObservedSet
-
- removeAll(Collection<?>) - Method in class com.electronwill.nightconfig.core.utils.ObservedSet2
-
- removeAll(Collection<?>) - Method in class com.electronwill.nightconfig.core.utils.TransformingCollection
-
- removeComment() - Method in class com.electronwill.nightconfig.core.AbstractCommentedConfig.CommentedEntryWrapper
-
- removeComment(List<String>) - Method in class com.electronwill.nightconfig.core.AbstractCommentedConfig
-
- removeComment() - Method in interface com.electronwill.nightconfig.core.CommentedConfig.Entry
-
Removes the entry's comment.
- removeComment(String) - Method in interface com.electronwill.nightconfig.core.CommentedConfig
-
Removes a comment from the config.
- removeComment(List<String>) - Method in interface com.electronwill.nightconfig.core.CommentedConfig
-
Removes a comment from the config.
- removeComment(List<String>) - Method in class com.electronwill.nightconfig.core.concurrent.StampedConfig
-
- removeComment(List<String>) - Method in class com.electronwill.nightconfig.core.concurrent.SynchronizedConfig
-
- removeComment(List<String>) - Method in class com.electronwill.nightconfig.core.utils.CommentedConfigWrapper
-
- removeComment(List<String>) - Method in class com.electronwill.nightconfig.core.utils.FakeCommentedConfig
-
- removeFirst() - Method in class com.electronwill.nightconfig.core.utils.IntDeque
-
Retrieves and removes the first element (head) of this deque.
- removeIf(Predicate<? super K>) - Method in class com.electronwill.nightconfig.core.utils.ObservedSet
-
- removeIf(Predicate<? super K>) - Method in class com.electronwill.nightconfig.core.utils.ObservedSet2
-
- removeIf(Predicate<? super ExternalV>) - Method in class com.electronwill.nightconfig.core.utils.TransformingCollection
-
- removeLast() - Method in class com.electronwill.nightconfig.core.utils.IntDeque
-
Retrieves and removes the last element of this deque.
- removeWatch(File) - Method in class com.electronwill.nightconfig.core.file.FileWatcher
-
Stops watching a file.
- removeWatch(Path) - Method in class com.electronwill.nightconfig.core.file.FileWatcher
-
Stops watching a file.
- removeWatchFuture(Path) - Method in class com.electronwill.nightconfig.core.file.FileWatcher
-
- replace(K, V, V) - Method in class com.electronwill.nightconfig.core.utils.ObservedMap
-
- replace(K, V) - Method in class com.electronwill.nightconfig.core.utils.ObservedMap
-
- replace(K, ExternalV, ExternalV) - Method in class com.electronwill.nightconfig.core.utils.TransformingMap
-
- replace(K, ExternalV) - Method in class com.electronwill.nightconfig.core.utils.TransformingMap
-
- replaceAll(char, char) - Method in class com.electronwill.nightconfig.core.io.CharsWrapper
-
Replaces all occurences in this Wrapper of a character by another one.
- replaceAll(BiFunction<? super K, ? super V, ? extends V>) - Method in class com.electronwill.nightconfig.core.utils.ObservedMap
-
- replaceAll(BiFunction<? super K, ? super ExternalV, ? extends ExternalV>) - Method in class com.electronwill.nightconfig.core.utils.TransformingMap
-
- replaceContentBy(StampedConfig) - Method in class com.electronwill.nightconfig.core.concurrent.StampedConfig
-
Atomically replaces the content of this config by the content of the specified config.
- replaceContentBy(StampedConfig.Accumulator) - Method in class com.electronwill.nightconfig.core.concurrent.StampedConfig
-
Atomically replaces the content of this config by the content of the specified accumulator.
- replaceContentBy(SynchronizedConfig) - Method in class com.electronwill.nightconfig.core.concurrent.SynchronizedConfig
-
Atomically replaces the content of this config by the content of the specified config.
- replaceContentBy(Config) - Method in class com.electronwill.nightconfig.core.concurrent.SynchronizedConfig
-
Atomically replaces the content of this config by the content of the specified config.
- reset() - Method in class com.electronwill.nightconfig.core.utils.FastStringReader
-
- resolveTypeArgumentsFor(Class<?>) - Method in class com.electronwill.nightconfig.core.serde.TypeConstraint
-
Inspects this type constraint and attempts to resolve the type arguments that have been applied to the
given class, inside of the constraint.
- retainAll(Collection<?>) - Method in class com.electronwill.nightconfig.core.utils.ObservedSet
-
- retainAll(Collection<?>) - Method in class com.electronwill.nightconfig.core.utils.ObservedSet2
-
- retainAll(Collection<?>) - Method in class com.electronwill.nightconfig.core.utils.TransformingCollection
-
- retryIfAccessDenied(String, IoUtils.IoRunnable) - Static method in class com.electronwill.nightconfig.core.io.IoUtils
-
Run an IO operation and retry it (at most maxRetries retries) if it
fails with AccessDeniedException.
- retryIfAccessDenied(String, IoUtils.IoRunnable, int, long, TimeUnit) - Static method in class com.electronwill.nightconfig.core.io.IoUtils
-
- run(Path, ConfigFormat<?>) - Method in interface com.electronwill.nightconfig.core.file.FileNotFoundAction
-
Performs the action.
- run() - Method in interface com.electronwill.nightconfig.core.io.IoUtils.IoRunnable
-
- save() - Method in class com.electronwill.nightconfig.core.conversion.ConvertedCommentedFileConfig
-
- save() - Method in class com.electronwill.nightconfig.core.conversion.ConvertedFileConfig
-
- save() - Method in interface com.electronwill.nightconfig.core.file.FileConfig
-
Saves this config as soon as possible.
- saveListener - Variable in class com.electronwill.nightconfig.core.file.GenericBuilder
-
- searchTransformation - Variable in class com.electronwill.nightconfig.core.utils.TransformingCollection
-
- SerdeAssert - Annotation Type in com.electronwill.nightconfig.core.serde.annotations
-
Throw an exception if the annotated field does not match the given condition.
- SerdeAssert.AssertThat - Enum in com.electronwill.nightconfig.core.serde.annotations
-
An condition that the field's value must verify during (de)serialization.
- SerdeAssertException - Exception in com.electronwill.nightconfig.core.serde
-
Thrown when an assertion, specified on a field by an annotation of type
SerdeAssert,
is not verified during (de)serialization.
- SerdeAssertsContainer - Annotation Type in com.electronwill.nightconfig.core.serde.annotations
-
A container for multiple
SerdeAssert annotations, because
that's how
Repeatable annotations are implemented in Java.
- SerdeComment - Annotation Type in com.electronwill.nightconfig.core.serde.annotations
-
Defines the comment to write to the configuration for this field.
- SerdeCommentsContainer - Annotation Type in com.electronwill.nightconfig.core.serde.annotations
-
A container for multiple
SerdeComment annotations, because
that's how
Repeatable annotations are implemented in Java.
- SerdeDefault - Annotation Type in com.electronwill.nightconfig.core.serde.annotations
-
Defines a default value to use when serializing, deserializing, or both.
- SerdeDefault.WhenValue - Enum in com.electronwill.nightconfig.core.serde.annotations
-
A condition that defines when to use the default value during (de)serialization.
- SerdeDefaultsContainer - Annotation Type in com.electronwill.nightconfig.core.serde.annotations
-
A container for multiple
SerdeDefault annotations, because
that's how
Repeatable annotations are implemented in Java.
- SerdeException - Exception in com.electronwill.nightconfig.core.serde
-
Thrown when an error occurs during the serialization
or deserialization process.
- SerdeKey - Annotation Type in com.electronwill.nightconfig.core.serde.annotations
-
Sets the key to use when serializing/deserializing an element, instead of its
Java name.
- SerdePhase - Enum in com.electronwill.nightconfig.core.serde.annotations
-
A serialization/deserialization phase.
- SerdeSkipDeserializingIf - Annotation Type in com.electronwill.nightconfig.core.serde.annotations
-
Don't deserialize the annotated field if some condition is true.
- SerdeSkipDeserializingIf.SkipDeIf - Enum in com.electronwill.nightconfig.core.serde.annotations
-
A condition that defines when to skip the field during deserialization.
- SerdeSkipSerializingIf - Annotation Type in com.electronwill.nightconfig.core.serde.annotations
-
Don't serialize the annotated field if some condition is true.
- SerdeSkipSerializingIf.SkipSerIf - Enum in com.electronwill.nightconfig.core.serde.annotations
-
A condition that defines when to skip the field during serialization.
- serialize(Object, Supplier<? extends Config>) - Method in class com.electronwill.nightconfig.core.serde.ObjectSerializer
-
Serializes a single value.
- serialize(T, SerializerContext) - Method in interface com.electronwill.nightconfig.core.serde.ValueSerializer
-
- serializeFields(Object, Supplier<C>) - Method in class com.electronwill.nightconfig.core.serde.ObjectSerializer
-
Serializes an object as a Config or type C by transforming
its fields into configuration
entries.
- serializeFields(Object, Config) - Method in class com.electronwill.nightconfig.core.serde.ObjectSerializer
-
Serializes an object as a Config by transforming its fields into
configuration entries.
- serializeFields(Object, Config) - Method in class com.electronwill.nightconfig.core.serde.SerializerContext
-
Serializes an object as a Config by transforming its fields into
configuration entries in destination.
- SerializerContext - Class in com.electronwill.nightconfig.core.serde
-
Holds serialization settings and provides some base serialization logic.
- serializeTransientFields() - Method in class com.electronwill.nightconfig.core.serde.ObjectSerializerBuilder
-
Serialize transient fields instead of ignoring them.
- serializeValue(Object) - Method in class com.electronwill.nightconfig.core.serde.SerializerContext
-
Serializes a single value.
- set(List<String>, Object) - Method in class com.electronwill.nightconfig.core.AbstractConfig
-
- set(List<String>, Object) - Method in class com.electronwill.nightconfig.core.concurrent.StampedConfig
-
- set(List<String>, Object) - Method in class com.electronwill.nightconfig.core.concurrent.SynchronizedConfig
-
- set(String, Object) - Method in class com.electronwill.nightconfig.core.concurrent.SynchronizedConfig
-
- set(String, Object) - Method in interface com.electronwill.nightconfig.core.Config
-
Sets a config value.
- set(List<String>, Object) - Method in interface com.electronwill.nightconfig.core.Config
-
Sets a config value.
- set(int, char) - Method in class com.electronwill.nightconfig.core.io.CharsWrapper.Builder
-
Sets the value of a character.
- set(int, char) - Method in class com.electronwill.nightconfig.core.io.CharsWrapper
-
Sets the value of a character.
- set(List<String>, Object) - Method in class com.electronwill.nightconfig.core.utils.ConfigWrapper
-
- set(int, ExternalV) - Method in class com.electronwill.nightconfig.core.utils.TransformingList
-
- set(ExternalV) - Method in class com.electronwill.nightconfig.core.utils.TransformingListIterator
-
- setComment(String) - Method in class com.electronwill.nightconfig.core.AbstractCommentedConfig.CommentedEntryWrapper
-
- setComment(List<String>, String) - Method in class com.electronwill.nightconfig.core.AbstractCommentedConfig
-
- setComment(String) - Method in interface com.electronwill.nightconfig.core.CommentedConfig.Entry
-
Sets the entry's comment.
- setComment(String, String) - Method in interface com.electronwill.nightconfig.core.CommentedConfig
-
Sets a config comment.
- setComment(List<String>, String) - Method in interface com.electronwill.nightconfig.core.CommentedConfig
-
Sets a config comment.
- setComment(List<String>, String) - Method in class com.electronwill.nightconfig.core.concurrent.StampedConfig
-
- setComment(List<String>, String) - Method in class com.electronwill.nightconfig.core.concurrent.SynchronizedConfig
-
- setComment(List<String>, String) - Method in class com.electronwill.nightconfig.core.utils.CommentedConfigWrapper
-
- setComment(List<String>, String) - Method in class com.electronwill.nightconfig.core.utils.FakeCommentedConfig
-
- setInsertionOrderPreserved(boolean) - Static method in interface com.electronwill.nightconfig.core.Config
-
Modifies the behavior of the new configurations with regards to the preservation of the
order of config values.
- setValue(Object) - Method in class com.electronwill.nightconfig.core.AbstractConfig.EntryWrapper
-
- setValue(Object) - Method in interface com.electronwill.nightconfig.core.Config.Entry
-
Sets the entry's value.
- setValue(V) - Method in class com.electronwill.nightconfig.core.utils.ObservedEntry
-
- setWatch(File, Runnable) - Method in class com.electronwill.nightconfig.core.file.FileWatcher
-
Watches a file.
- setWatch(Path, Runnable) - Method in class com.electronwill.nightconfig.core.file.FileWatcher
-
Watches a file.
- setWatchFuture(Path, Runnable) - Method in class com.electronwill.nightconfig.core.file.FileWatcher
-
- size() - Method in class com.electronwill.nightconfig.core.AbstractConfig
-
- size() - Method in class com.electronwill.nightconfig.core.concurrent.StampedConfig
-
- size() - Method in class com.electronwill.nightconfig.core.concurrent.SynchronizedConfig
-
- size() - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
-
Gets the size of the config.
- size() - Method in class com.electronwill.nightconfig.core.utils.IntDeque
-
- size() - Method in class com.electronwill.nightconfig.core.utils.ObservedMap
-
- size() - Method in class com.electronwill.nightconfig.core.utils.ObservedSet
-
- size() - Method in class com.electronwill.nightconfig.core.utils.ObservedSet2
-
- size() - Method in class com.electronwill.nightconfig.core.utils.TransformingCollection
-
- size() - Method in class com.electronwill.nightconfig.core.utils.TransformingMap
-
- size() - Method in class com.electronwill.nightconfig.core.utils.UnmodifiableConfigWrapper
-
- skip(long) - Method in class com.electronwill.nightconfig.core.utils.FastStringReader
-
- skipPeeks() - Method in class com.electronwill.nightconfig.core.io.AbstractInput
-
- skipPeeks() - Method in interface com.electronwill.nightconfig.core.io.CharacterInput
-
Skips all the character that have been peeked and not parsed yet.
- SpecClassInArray - Annotation Type in com.electronwill.nightconfig.core.conversion
-
- SpecDoubleInRange - Annotation Type in com.electronwill.nightconfig.core.conversion
-
- SpecEnum - Annotation Type in com.electronwill.nightconfig.core.conversion
-
- SpecFloatInRange - Annotation Type in com.electronwill.nightconfig.core.conversion
-
- SpecIntInRange - Annotation Type in com.electronwill.nightconfig.core.conversion
-
- SpecLongInRange - Annotation Type in com.electronwill.nightconfig.core.conversion
-
- SpecNotNull - Annotation Type in com.electronwill.nightconfig.core.conversion
-
- SpecStringInArray - Annotation Type in com.electronwill.nightconfig.core.conversion
-
- SpecStringInRange - Annotation Type in com.electronwill.nightconfig.core.conversion
-
- SpecValidator - Annotation Type in com.electronwill.nightconfig.core.conversion
-
- split(String, char) - Static method in class com.electronwill.nightconfig.core.utils.StringUtils
-
Splits a String around each occurence of the specified character.
- split(String, char, List<String>) - Static method in class com.electronwill.nightconfig.core.utils.StringUtils
-
Splits a String around each occurence of the specified character, and puts the result in the
given List.
- spliterator() - Method in class com.electronwill.nightconfig.core.utils.TransformingCollection
-
- splitLines(String) - Static method in class com.electronwill.nightconfig.core.utils.StringUtils
-
Splits a String around each occurence of LF and CRLF.
- splitLines(String, List<String>) - Static method in class com.electronwill.nightconfig.core.utils.StringUtils
-
Splits a String around each occurence of LF and CRLF, and puts the result in the given list.
- StampedConfig - Class in com.electronwill.nightconfig.core.concurrent
-
A thread-safe configuration based on a StampedLock.
- StampedConfig() - Constructor for class com.electronwill.nightconfig.core.concurrent.StampedConfig
-
- StampedConfig(ConfigFormat<?>, Supplier<Map<String, Object>>) - Constructor for class com.electronwill.nightconfig.core.concurrent.StampedConfig
-
- StampedConfig.Accumulator - Class in com.electronwill.nightconfig.core.concurrent
-
- standard() - Static method in class com.electronwill.nightconfig.core.serde.ObjectDeserializer
-
- standard() - Static method in class com.electronwill.nightconfig.core.serde.ObjectSerializer
-
- startsWith(CharSequence) - Method in class com.electronwill.nightconfig.core.io.CharsWrapper
-
Checks if this CharsWrapper starts with the same characters as the given CharSequence.
- stop() - Method in class com.electronwill.nightconfig.core.file.FileWatcher
-
Stops this FileWatcher.
- stopFuture() - Method in class com.electronwill.nightconfig.core.file.FileWatcher
-
- storage - Variable in class com.electronwill.nightconfig.core.ConfigSpec
-
Stores the entries of the spec as ValueSpec values.
- stream() - Method in class com.electronwill.nightconfig.core.utils.TransformingCollection
-
- StringUtils - Class in com.electronwill.nightconfig.core.utils
-
Fast string utilities.
- subList(int, int) - Method in class com.electronwill.nightconfig.core.utils.TransformingList
-
- subSequence(int, int) - Method in class com.electronwill.nightconfig.core.io.CharsWrapper
-
This method copies the data so the returned CharsWrapper doesn't share its array with this
CharsWrapper and is completely independant.
- subView(int, int) - Method in class com.electronwill.nightconfig.core.io.CharsWrapper
-
Creates a view of a part of this CharsWrapper.
- subView(int) - Method in class com.electronwill.nightconfig.core.io.CharsWrapper
-
Creates a view of a part of this CharsWrapper.
- supportsComments() - Method in interface com.electronwill.nightconfig.core.ConfigFormat
-
Checks if this format supports CommentedConfigs.
- supportsComments() - Method in class com.electronwill.nightconfig.core.conversion.ConvertedFormat
-
- supportsComments() - Method in class com.electronwill.nightconfig.core.InMemoryCommentedFormat
-
- supportsComments() - Method in class com.electronwill.nightconfig.core.InMemoryFormat
-
- supportsType(Class<?>) - Method in interface com.electronwill.nightconfig.core.ConfigFormat
-
Checks if this format supports the given type of value.
- supportsType(Class<?>) - Method in class com.electronwill.nightconfig.core.conversion.ConvertedFormat
-
- supportsType(Class<?>) - Method in class com.electronwill.nightconfig.core.InMemoryCommentedFormat
-
- supportsType(Class<?>) - Method in class com.electronwill.nightconfig.core.InMemoryFormat
-
- sync - Variable in class com.electronwill.nightconfig.core.file.GenericBuilder
-
- sync() - Method in class com.electronwill.nightconfig.core.file.GenericBuilder
-
Makes the configuration "write-synchronous", that is, its
FileConfig.save()
method blocks until the write operation completes.
- SynchronizedConfig - Class in com.electronwill.nightconfig.core.concurrent
-
A configuration that is synchronized, and therefore thread-safe (reads and
writes can happen in any order from any thread).
- SynchronizedConfig() - Constructor for class com.electronwill.nightconfig.core.concurrent.SynchronizedConfig
-
- SynchronizedConfig(ConfigFormat<?>, Supplier<Map<String, Object>>) - Constructor for class com.electronwill.nightconfig.core.concurrent.SynchronizedConfig
-
- SynchronizedConfig(ConfigFormat<?>, Supplier<Map<String, Object>>, SynchronizedConfig) - Constructor for class com.electronwill.nightconfig.core.concurrent.SynchronizedConfig
-
- system() - Static method in enum com.electronwill.nightconfig.core.io.NewlineStyle
-
- validate(Object, Class<T>) - Method in enum com.electronwill.nightconfig.core.EnumGetMethod
-
- ValueDeserializer<T,R> - Interface in com.electronwill.nightconfig.core.serde
-
Turns a config value of type T into a Java object of type R.
- ValueDeserializerProvider<T,R> - Interface in com.electronwill.nightconfig.core.serde
-
- valueMap() - Method in class com.electronwill.nightconfig.core.AbstractConfig
-
- valueMap() - Method in class com.electronwill.nightconfig.core.concurrent.StampedConfig
-
- valueMap() - Method in class com.electronwill.nightconfig.core.concurrent.SynchronizedConfig
-
- valueMap() - Method in interface com.electronwill.nightconfig.core.Config
-
- valueMap() - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
-
- valueMap() - Method in class com.electronwill.nightconfig.core.utils.UnmodifiableConfigWrapper
-
- valueOf(String) - Static method in enum com.electronwill.nightconfig.core.ConfigSpec.CorrectionAction
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.electronwill.nightconfig.core.EnumGetMethod
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.electronwill.nightconfig.core.io.IndentStyle
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.electronwill.nightconfig.core.io.NewlineStyle
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.electronwill.nightconfig.core.io.ParsingMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.electronwill.nightconfig.core.io.WritingMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.electronwill.nightconfig.core.serde.annotations.SerdeAssert.AssertThat
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.electronwill.nightconfig.core.serde.annotations.SerdeDefault.WhenValue
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.electronwill.nightconfig.core.serde.annotations.SerdePhase
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.electronwill.nightconfig.core.serde.annotations.SerdeSkipDeserializingIf.SkipDeIf
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.electronwill.nightconfig.core.serde.annotations.SerdeSkipSerializingIf.SkipSerIf
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.electronwill.nightconfig.core.ConfigSpec.CorrectionAction
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.electronwill.nightconfig.core.EnumGetMethod
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.electronwill.nightconfig.core.io.IndentStyle
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.electronwill.nightconfig.core.io.NewlineStyle
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.electronwill.nightconfig.core.io.ParsingMode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.electronwill.nightconfig.core.io.WritingMode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.electronwill.nightconfig.core.serde.annotations.SerdeAssert.AssertThat
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.electronwill.nightconfig.core.serde.annotations.SerdeDefault.WhenValue
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.electronwill.nightconfig.core.serde.annotations.SerdePhase
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.electronwill.nightconfig.core.serde.annotations.SerdeSkipDeserializingIf.SkipDeIf
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.electronwill.nightconfig.core.serde.annotations.SerdeSkipSerializingIf.SkipSerIf
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Method in class com.electronwill.nightconfig.core.utils.ObservedMap
-
- values() - Method in class com.electronwill.nightconfig.core.utils.TransformingMap
-
- ValueSerializer<T,R> - Interface in com.electronwill.nightconfig.core.serde
-
Turns a Java object of type T into a Config value of type R.
- ValueSerializerProvider<V,R> - Interface in com.electronwill.nightconfig.core.serde
-
- WatchingException(String, Throwable) - Constructor for exception com.electronwill.nightconfig.core.file.FileWatcher.WatchingException
-
- WatchingException(Throwable) - Constructor for exception com.electronwill.nightconfig.core.file.FileWatcher.WatchingException
-
- WatchingException(String) - Constructor for exception com.electronwill.nightconfig.core.file.FileWatcher.WatchingException
-
- withDefaultDeserializerProvider(ValueDeserializerProvider<V, R>) - Method in class com.electronwill.nightconfig.core.serde.ObjectDeserializerBuilder
-
- withDefaultDeserializerProvider() - Method in class com.electronwill.nightconfig.core.serde.ObjectDeserializerBuilder
-
Enables the standard default serializer provider.
- withDefaultSerializerProvider(ValueSerializerProvider<V, R>) - Method in class com.electronwill.nightconfig.core.serde.ObjectSerializerBuilder
-
- withDefaultSerializerProvider() - Method in class com.electronwill.nightconfig.core.serde.ObjectSerializerBuilder
-
- withDeserializerForClass(Class<V>, Class<R>, ValueDeserializer<? super V, ? extends R>) - Method in class com.electronwill.nightconfig.core.serde.ObjectDeserializerBuilder
-
Adds a
ValueDeserializer that will be used to deserialize config values
of type
valueClass to objects of type
resultClass.
- withDeserializerProvider(ValueDeserializerProvider<V, R>) - Method in class com.electronwill.nightconfig.core.serde.ObjectDeserializerBuilder
-
- withSerializerForClass(Class<V>, ValueSerializer<? super V, ? extends R>) - Method in class com.electronwill.nightconfig.core.serde.ObjectSerializerBuilder
-
- withSerializerForExactClass(Class<V>, ValueSerializer<? super V, ? extends R>) - Method in class com.electronwill.nightconfig.core.serde.ObjectSerializerBuilder
-
- withSerializerProvider(ValueSerializerProvider<V, R>) - Method in class com.electronwill.nightconfig.core.serde.ObjectSerializerBuilder
-
- withSupport(Predicate<Class<?>>) - Static method in class com.electronwill.nightconfig.core.InMemoryCommentedFormat
-
- withSupport(Predicate<Class<?>>) - Static method in class com.electronwill.nightconfig.core.InMemoryFormat
-
- withUniversalSupport() - Static method in class com.electronwill.nightconfig.core.InMemoryCommentedFormat
-
- withUniversalSupport() - Static method in class com.electronwill.nightconfig.core.InMemoryFormat
-
- wrap(Map<String, Object>, ConfigFormat<?>) - Static method in interface com.electronwill.nightconfig.core.CommentedConfig
-
Creates a CommentedConfig backed by a Map.
- wrap(Map<String, Object>, ConfigFormat<?>) - Static method in interface com.electronwill.nightconfig.core.Config
-
Creates a Config backed by a Map.
- wrap(UnmodifiableConfig) - Method in class com.electronwill.nightconfig.core.conversion.ConversionTable
-
Returns an UnmodifiableConfig that converts "just-in-time" the values of the specified
UnmodifiableConfig.
- wrapRead(Config) - Method in class com.electronwill.nightconfig.core.conversion.ConversionTable
-
Returns an Config that converts "just-in-time" the values that are read from the specified
Config.
- wrapRead(CommentedConfig) - Method in class com.electronwill.nightconfig.core.conversion.ConversionTable
-
Returns an Config that converts "just-in-time" the values that are read from the specified
Config.
- wrapRead(FileConfig) - Method in class com.electronwill.nightconfig.core.conversion.ConversionTable
-
Returns an Config that converts "just-in-time" the values that are read from the specified
Config.
- wrapRead(CommentedFileConfig) - Method in class com.electronwill.nightconfig.core.conversion.ConversionTable
-
Returns an Config that converts "just-in-time" the values that are read from the specified
Config.
- wrapWrite(Config, Predicate<Class<?>>) - Method in class com.electronwill.nightconfig.core.conversion.ConversionTable
-
Returns an Config that converts "just-in-time" the values that are put into the specified
Config.
- wrapWrite(CommentedConfig, Predicate<Class<?>>) - Method in class com.electronwill.nightconfig.core.conversion.ConversionTable
-
Returns an Config that converts "just-in-time" the values that are put into the specified
Config.
- wrapWrite(FileConfig, Predicate<Class<?>>) - Method in class com.electronwill.nightconfig.core.conversion.ConversionTable
-
Returns an Config that converts "just-in-time" the values that are put into the specified
Config.
- wrapWrite(CommentedFileConfig, Predicate<Class<?>>) - Method in class com.electronwill.nightconfig.core.conversion.ConversionTable
-
Returns an Config that converts "just-in-time" the values that are put into the specified
Config.
- write(char) - Method in interface com.electronwill.nightconfig.core.io.CharacterOutput
-
Writes a character.
- write(char...) - Method in interface com.electronwill.nightconfig.core.io.CharacterOutput
-
Writes an array of characters.
- write(char[], int, int) - Method in interface com.electronwill.nightconfig.core.io.CharacterOutput
-
Writes a portion of an array of characters.
- write(String) - Method in interface com.electronwill.nightconfig.core.io.CharacterOutput
-
Writes all the characters in the given String.
- write(String, int, int) - Method in interface com.electronwill.nightconfig.core.io.CharacterOutput
-
Writes a portion of a String.
- write(CharsWrapper) - Method in interface com.electronwill.nightconfig.core.io.CharacterOutput
-
Writes all the characters in the given CharsWrapper.
- write(int) - Method in class com.electronwill.nightconfig.core.io.CharsWrapper.Builder
-
- write(char) - Method in class com.electronwill.nightconfig.core.io.CharsWrapper.Builder
-
- write(char...) - Method in class com.electronwill.nightconfig.core.io.CharsWrapper.Builder
-
- write(char[], int, int) - Method in class com.electronwill.nightconfig.core.io.CharsWrapper.Builder
-
- write(String) - Method in class com.electronwill.nightconfig.core.io.CharsWrapper.Builder
-
- write(String, int, int) - Method in class com.electronwill.nightconfig.core.io.CharsWrapper.Builder
-
- write(CharsWrapper) - Method in class com.electronwill.nightconfig.core.io.CharsWrapper.Builder
-
- write(UnmodifiableConfig, Writer) - Method in interface com.electronwill.nightconfig.core.io.ConfigWriter
-
Writes a configuration.
- write(UnmodifiableConfig, OutputStream, Charset) - Method in interface com.electronwill.nightconfig.core.io.ConfigWriter
-
Writes a configuration.
- write(UnmodifiableConfig, OutputStream) - Method in interface com.electronwill.nightconfig.core.io.ConfigWriter
-
Writes a configuration.
- write(UnmodifiableConfig, Path, WritingMode) - Method in interface com.electronwill.nightconfig.core.io.ConfigWriter
-
Writes a configuration.
- write(UnmodifiableConfig, Path, WritingMode, Charset) - Method in interface com.electronwill.nightconfig.core.io.ConfigWriter
-
Writes a configuration.
- write(UnmodifiableConfig, File, WritingMode) - Method in interface com.electronwill.nightconfig.core.io.ConfigWriter
-
Writes a configuration.
- write(UnmodifiableConfig, File, WritingMode, Charset) - Method in interface com.electronwill.nightconfig.core.io.ConfigWriter
-
Writes a configuration.
- write(UnmodifiableConfig, URL) - Method in interface com.electronwill.nightconfig.core.io.ConfigWriter
-
Writes a configuration.
- write(char) - Method in class com.electronwill.nightconfig.core.io.WriterOutput
-
- write(char[], int, int) - Method in class com.electronwill.nightconfig.core.io.WriterOutput
-
- write(String, int, int) - Method in class com.electronwill.nightconfig.core.io.WriterOutput
-
- writer - Variable in class com.electronwill.nightconfig.core.file.GenericBuilder
-
- WriterOutput - Class in com.electronwill.nightconfig.core.io
-
Writes the characters in a Writer.
- WriterOutput(Writer) - Constructor for class com.electronwill.nightconfig.core.io.WriterOutput
-
- WriterSupplier - Interface in com.electronwill.nightconfig.core.utils
-
- writeToString(UnmodifiableConfig) - Method in interface com.electronwill.nightconfig.core.io.ConfigWriter
-
Writes a configuration to a String.
- writeTransformation - Variable in class com.electronwill.nightconfig.core.utils.TransformingCollection
-
- WritingException - Exception in com.electronwill.nightconfig.core.io
-
Thrown whan a writing operation fails.
- WritingException(String) - Constructor for exception com.electronwill.nightconfig.core.io.WritingException
-
- WritingException(String, Throwable) - Constructor for exception com.electronwill.nightconfig.core.io.WritingException
-
- WritingException(Throwable) - Constructor for exception com.electronwill.nightconfig.core.io.WritingException
-
- writingMode - Variable in class com.electronwill.nightconfig.core.file.GenericBuilder
-
- writingMode(WritingMode) - Method in class com.electronwill.nightconfig.core.file.GenericBuilder
-
- WritingMode - Enum in com.electronwill.nightconfig.core.io
-
How to write a config to a file.