A B C D E F G H I K L M N O P R S T U V W 
All Classes All Packages

A

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
 
AbstractCommentedConfig(UnmodifiableCommentedConfig, boolean) - Constructor for class com.electronwill.nightconfig.core.AbstractCommentedConfig
Creates an AbstractCommentedConfig that is a copy of the specified config.
AbstractCommentedConfig(UnmodifiableCommentedConfig, Supplier<Map<String, Object>>) - Constructor for class com.electronwill.nightconfig.core.AbstractCommentedConfig
 
AbstractCommentedConfig(UnmodifiableConfig, boolean) - Constructor for class com.electronwill.nightconfig.core.AbstractCommentedConfig
Creates an AbstractCommentedConfig that is a copy of the specified config.
AbstractCommentedConfig(UnmodifiableConfig, Supplier<Map<String, Object>>) - Constructor for class com.electronwill.nightconfig.core.AbstractCommentedConfig
 
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.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
Creates a new AbstractConfig backed by a new Map.
AbstractConfig(UnmodifiableConfig, boolean) - Constructor for class com.electronwill.nightconfig.core.AbstractConfig
Creates a new AbstractConfig that is a copy of the specified config.
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(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.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
 
add(int, ExternalV) - Method in class com.electronwill.nightconfig.core.utils.TransformingList
 
add(ExternalV) - Method in class com.electronwill.nightconfig.core.utils.TransformingCollection
 
add(ExternalV) - Method in class com.electronwill.nightconfig.core.utils.TransformingListIterator
 
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.AbstractConfig
 
add(List<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 - com.electronwill.nightconfig.core.ConfigSpec.CorrectionAction
Means that the value was added to the config.
ADD - com.electronwill.nightconfig.core.io.ParsingMode
Adds the parsed values to the config: the existing values are prioritary and will not be replaced.
addAll(int, Collection<? extends ExternalV>) - Method in class com.electronwill.nightconfig.core.utils.TransformingList
 
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 ExternalV>) - Method in class com.electronwill.nightconfig.core.utils.TransformingCollection
 
addAll(Collection<? extends K>) - Method in class com.electronwill.nightconfig.core.utils.ObservedSet
 
addFirst(int) - Method in class com.electronwill.nightconfig.core.utils.IntDeque
Inserts an element before the head of this deque.
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.
AdvancedPath - Annotation Type in com.electronwill.nightconfig.core.conversion
Indicates the path, in the config, of the annotated element.
append(char) - 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(CharsWrapper) - Method in class com.electronwill.nightconfig.core.io.CharsWrapper.Builder
Appends a CharsWrapper to this 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(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.
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 - com.electronwill.nightconfig.core.io.WritingMode
Appends the config at the end of the file.
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
An implementation of CharacterInput based on an array of characters.
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.
ArrayInput(CharsWrapper) - Constructor for class com.electronwill.nightconfig.core.io.ArrayInput
Creates a new ArrayInput based on the underlying array of the specified CharsWrapper.
autoreload - 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.
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.

B

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.
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.
buildAutosave(FileConfig) - Method in class com.electronwill.nightconfig.core.file.CommentedFileConfigBuilder
 
buildAutosave(FileConfig) - Method in class com.electronwill.nightconfig.core.file.FileConfigBuilder
 
buildAutosave(FileConfig) - Method in class com.electronwill.nightconfig.core.file.GenericBuilder
 
builder(File) - 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(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(String) - 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.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(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(Path) - 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.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(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(int) - Constructor for class com.electronwill.nightconfig.core.io.CharsWrapper.Builder
Creates a new CharsWrapper's builder with the specified initial capacity.
buildNormal(FileConfig) - Method in class com.electronwill.nightconfig.core.file.CommentedFileConfigBuilder
 
buildNormal(FileConfig) - Method in class com.electronwill.nightconfig.core.file.FileConfigBuilder
 
buildNormal(FileConfig) - Method in class com.electronwill.nightconfig.core.file.GenericBuilder
 

C

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
Sets the charset used for FileConfig.save() and FileConfig.load().
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(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(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.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 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.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.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.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
 
com.electronwill.nightconfig.core.conversion - package com.electronwill.nightconfig.core.conversion
 
com.electronwill.nightconfig.core.file - package com.electronwill.nightconfig.core.file
 
com.electronwill.nightconfig.core.io - package com.electronwill.nightconfig.core.io
 
com.electronwill.nightconfig.core.utils - package com.electronwill.nightconfig.core.utils
 
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
 
CommentedFileConfigBuilder - Class in com.electronwill.nightconfig.core.file
Builder for CommentedFileConfig.
commentMap() - Method in class com.electronwill.nightconfig.core.AbstractCommentedConfig
 
commentMap() - Method in interface com.electronwill.nightconfig.core.CommentedConfig
Returns a Map view of the config's comments.
commentMap() - Method in interface com.electronwill.nightconfig.core.UnmodifiableCommentedConfig
Returns a Map view of the config's comments.
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 ExternalV, ? extends ExternalV>) - Method in class com.electronwill.nightconfig.core.utils.TransformingMap
 
compute(K, BiFunction<? super K, ? super V, ? 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
 
computeIfAbsent(K, Function<? super K, ? 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
 
computeIfPresent(K, BiFunction<? super K, ? super V, ? extends V>) - Method in class com.electronwill.nightconfig.core.utils.ObservedMap
 
concurrent - Variable in class com.electronwill.nightconfig.core.file.GenericBuilder
 
concurrent() - Method in class com.electronwill.nightconfig.core.file.GenericBuilder
Makes the configuration concurrent, that is, thread-safe.
ConcurrentConfigSpec - Class in com.electronwill.nightconfig.core
 
ConcurrentConfigSpec() - Constructor for class com.electronwill.nightconfig.core.ConcurrentConfigSpec
 
concurrentCopy(UnmodifiableCommentedConfig) - Static method in interface com.electronwill.nightconfig.core.CommentedConfig
Creates a new CommentedConfig with the content of the given config.
concurrentCopy(UnmodifiableCommentedConfig, ConfigFormat<?>) - Static method in interface com.electronwill.nightconfig.core.CommentedConfig
Creates a new CommentedConfig with the content of the given config.
concurrentCopy(UnmodifiableConfig) - Static method in interface com.electronwill.nightconfig.core.CommentedConfig
Creates a new CommentedConfig with the content of the given config.
concurrentCopy(UnmodifiableConfig) - Static method in interface com.electronwill.nightconfig.core.Config
Creates a new Config with the content of the given config.
concurrentCopy(UnmodifiableConfig, ConfigFormat<?>) - Static method in interface com.electronwill.nightconfig.core.CommentedConfig
Creates a new CommentedConfig with the content of the given config.
concurrentCopy(UnmodifiableConfig, ConfigFormat<?>) - Static method in interface com.electronwill.nightconfig.core.Config
Creates a new Config with the content of the given config.
config - Variable in class com.electronwill.nightconfig.core.utils.UnmodifiableConfigWrapper
 
Config - Interface in com.electronwill.nightconfig.core
A (modifiable) configuration that contains key/value mappings.
Config.Entry - Interface in com.electronwill.nightconfig.core
A modifiable config entry.
configFormat() - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
Returns the config's format.
configFormat() - Method in class com.electronwill.nightconfig.core.utils.UnmodifiableConfigWrapper
 
ConfigFormat<C extends Config> - Interface in com.electronwill.nightconfig.core
A configuration format, that can parse, create and write some types of configurations.
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.CorrectionAction - Enum in com.electronwill.nightconfig.core
 
ConfigSpec.CorrectionListener - Interface in com.electronwill.nightconfig.core
Listens to the corrections made by the methods ConfigSpec.correct(Config) and ConfigSpec.correct(Config, CorrectionListener).
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(char) - Method in class com.electronwill.nightconfig.core.io.CharsWrapper
Checks if this CharsWrapper contains the specified character.
contains(Class<?>) - Method in class com.electronwill.nightconfig.core.conversion.ConversionTable
Checks that a function is defined for the specified class.
contains(Object) - Method in class com.electronwill.nightconfig.core.utils.ObservedSet
 
contains(Object) - Method in class com.electronwill.nightconfig.core.utils.TransformingCollection
 
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 class com.electronwill.nightconfig.core.AbstractConfig
 
contains(List<String>) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
Checks if the config contains a value at some path.
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.TransformingCollection
 
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 class com.electronwill.nightconfig.core.AbstractCommentedConfig
 
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(char[]) - Method in class com.electronwill.nightconfig.core.io.CharsWrapper
Compares this CharsWrapper to an array of characters.
contentEquals(CharSequence) - Method in class com.electronwill.nightconfig.core.io.CharsWrapper
Compares this CharsWrapper to a CharSequence.
Conversion - Annotation Type in com.electronwill.nightconfig.core.conversion
Indicates that the value of the field must be converted with the specified converter class.
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(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
Performs conversions between field values and config values.
convertFromField(FieldType) - Method in interface com.electronwill.nightconfig.core.conversion.Converter
 
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
 
copy(UnmodifiableCommentedConfig) - 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>>) - 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.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, ConfigFormat<?>) - 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.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.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.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.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.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(File) - 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.
copyData(URL) - Static method in interface com.electronwill.nightconfig.core.file.FileNotFoundAction
Action: copies the data at the given url.
copyData(Path) - Static method in interface com.electronwill.nightconfig.core.file.FileNotFoundAction
Action: copies the specified file.
copyResource(String) - Static method in interface com.electronwill.nightconfig.core.file.FileNotFoundAction
Action: copies the inner resource.
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.
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.
CREATE_EMPTY - Static variable in interface com.electronwill.nightconfig.core.file.FileNotFoundAction
 
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() - Method in class com.electronwill.nightconfig.core.conversion.ConvertedFormat
 
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(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
 
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.Config
Creates a new sub config of this config, as created when a subconfig's creation is implied by Config.set(List, Object) or Config.add(List, Object).
createSubConfig() - Method in class com.electronwill.nightconfig.core.utils.CommentedConfigWrapper
 
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
 

D

defaultData(File) - Method in class com.electronwill.nightconfig.core.file.GenericBuilder
Sets the file to copy when the config's file is not found.
defaultData(URL) - Method in class com.electronwill.nightconfig.core.file.GenericBuilder
Sets the URL of the data to copy when the config's file is not found.
defaultData(Path) - Method in class com.electronwill.nightconfig.core.file.GenericBuilder
Sets the file to copy when the config's file is not found.
defaultInstance() - Static method in class com.electronwill.nightconfig.core.file.FileWatcher
Gets the default, global instance of FileWatcher.
defaultInstance() - Static method in class com.electronwill.nightconfig.core.InMemoryCommentedFormat
 
defaultInstance() - Static method in class com.electronwill.nightconfig.core.InMemoryFormat
 
defaultResource(String) - Method in class com.electronwill.nightconfig.core.file.GenericBuilder
Sets the resource (in the jar) to copy when the config's file is not found.
define(String, Object) - Method in class com.electronwill.nightconfig.core.ConfigSpec
Defines an entry.
define(String, Object, Predicate<Object>) - Method in class com.electronwill.nightconfig.core.ConfigSpec
Defines an entry.
define(String, Supplier<?>, Predicate<Object>) - Method in class com.electronwill.nightconfig.core.ConfigSpec
Defines an entry.
define(List<String>, Object) - Method in class com.electronwill.nightconfig.core.ConfigSpec
Defines an entry.
define(List<String>, Object, Predicate<Object>) - Method in class com.electronwill.nightconfig.core.ConfigSpec
Defines an entry.
define(List<String>, Supplier<?>, Predicate<Object>) - Method in class com.electronwill.nightconfig.core.ConfigSpec
Defines an entry.
defineEnum(String, Class<T>, EnumGetMethod, Supplier<T>) - Method in class com.electronwill.nightconfig.core.ConfigSpec
 
defineEnum(String, T, EnumGetMethod) - Method in class com.electronwill.nightconfig.core.ConfigSpec
 
defineEnum(List<String>, Class<T>, EnumGetMethod, Supplier<T>) - Method in class com.electronwill.nightconfig.core.ConfigSpec
 
defineEnum(List<String>, T, EnumGetMethod) - Method in class com.electronwill.nightconfig.core.ConfigSpec
 
defineInList(String, Object, Collection<?>) - Method in class com.electronwill.nightconfig.core.ConfigSpec
Defines an entry.
defineInList(String, Supplier<?>, Collection<?>) - Method in class com.electronwill.nightconfig.core.ConfigSpec
Defines an entry.
defineInList(List<String>, Object, Collection<?>) - Method in class com.electronwill.nightconfig.core.ConfigSpec
Defines an entry.
defineInList(List<String>, Supplier<?>, Collection<?>) - Method in class com.electronwill.nightconfig.core.ConfigSpec
Defines an entry.
defineInRange(String, Supplier<V>, V, V) - Method in class com.electronwill.nightconfig.core.ConfigSpec
Defines an entry.
defineInRange(String, V, V, V) - Method in class com.electronwill.nightconfig.core.ConfigSpec
Defines an entry.
defineInRange(List<String>, Supplier<V>, V, V) - Method in class com.electronwill.nightconfig.core.ConfigSpec
Defines an entry.
defineInRange(List<String>, V, V, V) - Method in class com.electronwill.nightconfig.core.ConfigSpec
Defines an entry.
defineList(String, Supplier<List<?>>, Predicate<Object>) - Method in class com.electronwill.nightconfig.core.ConfigSpec
Defines an entry.
defineList(String, List<?>, Predicate<Object>) - Method in class com.electronwill.nightconfig.core.ConfigSpec
Defines an entry.
defineList(List<String>, Supplier<List<?>>, Predicate<Object>) - Method in class com.electronwill.nightconfig.core.ConfigSpec
Defines an entry.
defineList(List<String>, List<?>, Predicate<Object>) - Method in class com.electronwill.nightconfig.core.ConfigSpec
Defines an entry.
defineOfClass(String, Supplier<V>, Class<? super V>) - Method in class com.electronwill.nightconfig.core.ConfigSpec
Defines an entry.
defineOfClass(String, V, Class<? super V>) - Method in class com.electronwill.nightconfig.core.ConfigSpec
Defines an entry.
defineOfClass(List<String>, Supplier<V>, Class<? super V>) - Method in class com.electronwill.nightconfig.core.ConfigSpec
Defines an entry.
defineOfClass(List<String>, V, Class<? super V>) - Method in class com.electronwill.nightconfig.core.ConfigSpec
Defines an entry.
defineRestrictedEnum(String, Class<T>, Collection<T>, EnumGetMethod, Supplier<T>) - Method in class com.electronwill.nightconfig.core.ConfigSpec
 
defineRestrictedEnum(String, T, Collection<T>, EnumGetMethod) - Method in class com.electronwill.nightconfig.core.ConfigSpec
 
defineRestrictedEnum(List<String>, Class<T>, Collection<T>, EnumGetMethod, Supplier<T>) - Method in class com.electronwill.nightconfig.core.ConfigSpec
 
defineRestrictedEnum(List<String>, T, Collection<T>, EnumGetMethod) - Method in class com.electronwill.nightconfig.core.ConfigSpec
 
deque - Variable in class com.electronwill.nightconfig.core.io.AbstractInput
Contains the peeked characters that haven't been read (by the read methods) yet.
detect(File) - Static method in class com.electronwill.nightconfig.core.file.FormatDetector
Detects the ConfigFormat of a file.
detect(Path) - Static method in class com.electronwill.nightconfig.core.file.FormatDetector
Detects the ConfigFormat of a file.
detectByName(String) - Static method in class com.electronwill.nightconfig.core.file.FormatDetector
Detects the ConfigFormat of a filename.
directRead() - Method in class com.electronwill.nightconfig.core.io.AbstractInput
Tries to parse the next character without taking care of the peek deque.
directRead() - Method in class com.electronwill.nightconfig.core.io.ArrayInput
 
directRead() - Method in class com.electronwill.nightconfig.core.io.ReaderInput
 
directReadChar() - Method in class com.electronwill.nightconfig.core.io.AbstractInput
Tries to parse the next character without taking care of the peek deque.
directReadChar() - Method in class com.electronwill.nightconfig.core.io.ArrayInput
 
directReadChar() - Method in class com.electronwill.nightconfig.core.io.ReaderInput
 

E

entrySet() - Method in class com.electronwill.nightconfig.core.AbstractCommentedConfig
 
entrySet() - Method in class com.electronwill.nightconfig.core.AbstractConfig
 
entrySet() - Method in interface com.electronwill.nightconfig.core.CommentedConfig
 
entrySet() - Method in interface com.electronwill.nightconfig.core.Config
Returns a Set view of the config's entries.
entrySet() - Method in class com.electronwill.nightconfig.core.conversion.ConvertedConfig
 
entrySet() - Method in interface com.electronwill.nightconfig.core.UnmodifiableCommentedConfig
 
entrySet() - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
Returns a Set view of the config's entries.
entrySet() - Method in class com.electronwill.nightconfig.core.utils.CommentedConfigWrapper
 
entrySet() - Method in class com.electronwill.nightconfig.core.utils.ConfigWrapper
 
entrySet() - Method in class com.electronwill.nightconfig.core.utils.FakeCommentedConfig
 
entrySet() - Method in class com.electronwill.nightconfig.core.utils.FakeUnmodifiableCommentedConfig
 
entrySet() - Method in class com.electronwill.nightconfig.core.utils.ObservedMap
 
entrySet() - Method in class com.electronwill.nightconfig.core.utils.TransformingMap
 
entrySet() - Method in class com.electronwill.nightconfig.core.utils.UnmodifiableConfigWrapper
 
EntryWrapper(Map.Entry<String, Object>) - Constructor for class com.electronwill.nightconfig.core.AbstractConfig.EntryWrapper
 
EnumGetMethod - Enum in com.electronwill.nightconfig.core
Specifies how to treat non-enum values when using UnmodifiableConfig.getEnum(String, Class, EnumGetMethod).
equals(Object) - Method in class com.electronwill.nightconfig.core.AbstractCommentedConfig.CommentedEntryWrapper
 
equals(Object) - Method in class com.electronwill.nightconfig.core.AbstractConfig.EntryWrapper
 
equals(Object) - Method in class com.electronwill.nightconfig.core.AbstractConfig
 
equals(Object) - Method in class com.electronwill.nightconfig.core.io.CharsWrapper
 
equals(Object) - Method in class com.electronwill.nightconfig.core.NullObject
 
equals(Object) - Method in class com.electronwill.nightconfig.core.utils.ObservedEntry
 
equals(Object) - Method in class com.electronwill.nightconfig.core.utils.ObservedIterator
 
equals(Object) - Method in class com.electronwill.nightconfig.core.utils.ObservedMap
 
equals(Object) - Method in class com.electronwill.nightconfig.core.utils.ObservedSet
 
equals(Object) - Method in class com.electronwill.nightconfig.core.utils.TransformingCollection
 
equals(Object) - Method in class com.electronwill.nightconfig.core.utils.TransformingIterator
 
equals(Object) - Method in class com.electronwill.nightconfig.core.utils.TransformingSpliterator
 
equals(Object) - Method in class com.electronwill.nightconfig.core.utils.UnmodifiableConfigWrapper
 
equalsIgnoreCase(CharSequence) - Method in class com.electronwill.nightconfig.core.io.CharsWrapper
Compares this CharsWrapper to a CharSequence, ignoring case considerations.
estimateSize() - Method in class com.electronwill.nightconfig.core.utils.TransformingSpliterator
 

F

fake(Config) - Static method in interface com.electronwill.nightconfig.core.CommentedConfig
If the specified config is an instance of CommentedConfig, returns it.
fake(UnmodifiableConfig) - Static method in interface com.electronwill.nightconfig.core.UnmodifiableCommentedConfig
If the specified config is an instance of UnmodifiableCommentedConfig, returns it.
FakeCommentedConfig - Class in com.electronwill.nightconfig.core.utils
A fake CommentedConfig that wraps a config that doesn't support comments.
FakeCommentedConfig(Config) - Constructor for class com.electronwill.nightconfig.core.utils.FakeCommentedConfig
Creates a FakeUnmodifiableCommentedConfig that gets all its values from the given config.
FakeUnmodifiableCommentedConfig - Class in com.electronwill.nightconfig.core.utils
A fake UnmodifiableCommentedConfig that wraps a config that doesn't support comments.
FakeUnmodifiableCommentedConfig(UnmodifiableConfig) - Constructor for class com.electronwill.nightconfig.core.utils.FakeUnmodifiableCommentedConfig
Creates a FakeUnmodifiableCommentedConfig that gets all its values from the given config.
FastStringReader - Class in com.electronwill.nightconfig.core.utils
A fast, unsynchronized, simple Reader that reads the content of a String.
FastStringReader(String) - Constructor for class com.electronwill.nightconfig.core.utils.FastStringReader
 
FastStringReader(String, int) - Constructor for class com.electronwill.nightconfig.core.utils.FastStringReader
 
file - Variable in class com.electronwill.nightconfig.core.file.GenericBuilder
 
FileConfig - Interface in com.electronwill.nightconfig.core.file
 
FileConfigBuilder - Class in com.electronwill.nightconfig.core.file
Builder for FileConfig.
FileNotFoundAction - Interface in com.electronwill.nightconfig.core.file
Defines the action to perform when the file is not found.
FileWatcher - Class in com.electronwill.nightconfig.core.file
A FileWatcher can watch several files asynchronously.
FileWatcher() - Constructor for class com.electronwill.nightconfig.core.file.FileWatcher
Creates a new FileWatcher.
FileWatcher(Consumer<Exception>) - Constructor for class com.electronwill.nightconfig.core.file.FileWatcher
Creates a new FileWatcher.
flush() - Method in class com.electronwill.nightconfig.core.io.CharsWrapper.Builder
 
ForceBreakdown - Annotation Type in com.electronwill.nightconfig.core.conversion
Indicates that a field must be broken down into its fields instead of being stored as it is, even if its type is supported by the configuration we try to put the field's value into.
forEach(BiConsumer<? super K, ? super ExternalV>) - Method in class com.electronwill.nightconfig.core.utils.TransformingMap
 
forEach(Consumer<? super ExternalV>) - Method in class com.electronwill.nightconfig.core.utils.TransformingCollection
 
forEachRemaining(Consumer<? super E>) - Method in class com.electronwill.nightconfig.core.utils.ObservedIterator
 
forEachRemaining(Consumer<? super ExternalV>) - Method in class com.electronwill.nightconfig.core.utils.TransformingIterator
 
forEachRemaining(Consumer<? super ExternalV>) - Method in class com.electronwill.nightconfig.core.utils.TransformingSpliterator
 
format - Variable in class com.electronwill.nightconfig.core.file.GenericBuilder
 
FormatDetector - Class in com.electronwill.nightconfig.core.file
Utility class for detecting the format of configurations files.

G

GenericBuilder<Base extends Config,​Result extends FileConfig> - Class in com.electronwill.nightconfig.core.file
A generic FileConfig/CommentedFileConfig/someOtherFileConfig builder.
get() - Method in interface com.electronwill.nightconfig.core.utils.WriterSupplier
 
get(int) - Method in class com.electronwill.nightconfig.core.io.CharsWrapper.Builder
 
get(int) - Method in class com.electronwill.nightconfig.core.io.CharsWrapper
 
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(int) - Method in class com.electronwill.nightconfig.core.utils.TransformingList
 
get(Object) - Method in class com.electronwill.nightconfig.core.utils.ObservedMap
 
get(Object) - Method in class com.electronwill.nightconfig.core.utils.TransformingMap
 
get(Object, Class<T>) - Method in enum com.electronwill.nightconfig.core.EnumGetMethod
 
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.
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() - 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 class com.electronwill.nightconfig.core.AbstractCommentedConfig
 
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 interface com.electronwill.nightconfig.core.UnmodifiableCommentedConfig
Returns a Map containing a deep copy of all the comments in the config.
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
 
getComments(Map<String, UnmodifiableCommentedConfig.CommentNode>) - Method in interface com.electronwill.nightconfig.core.UnmodifiableCommentedConfig
Puts all the config's comments to the specified map.
getComparator() - Method in class com.electronwill.nightconfig.core.utils.TransformingSpliterator
 
getConfig() - Method in class com.electronwill.nightconfig.core.file.GenericBuilder
 
getDefaultCommentMap(boolean) - Static method in class com.electronwill.nightconfig.core.AbstractCommentedConfig
 
getDefaultMapCreator(boolean) - Static method in class com.electronwill.nightconfig.core.AbstractConfig
 
getDefaultMapCreator(boolean) - Static method in interface com.electronwill.nightconfig.core.Config
Returns a map supplier that fullfills the given requirements.
getDefaultMapCreator(boolean, boolean) - Static method in interface com.electronwill.nightconfig.core.Config
Returns a map supplier that fulfills the given requirements.
getEnum(String, Class<T>) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
getEnum(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
getEnum(List<String>, Class<T>, EnumGetMethod) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
Gets an Enum value from the config.
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(String, 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(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
getEnumOrElse(List<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.
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
 
getInt() - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig.Entry
 
getInt(String) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
Like UnmodifiableConfig.get(String) but returns a primitive int.
getInt(List<String>) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
Like UnmodifiableConfig.get(List) but returns a primitive int.
getIntOrElse(int) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig.Entry
 
getIntOrElse(String, int) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
Like UnmodifiableConfig.getOrElse(String, Object) but returns a primitive int.
getIntOrElse(String, IntSupplier) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
Like UnmodifiableConfig.getOrElse(String, Supplier) but returns a primitive int.
getIntOrElse(List<String>, int) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
Like UnmodifiableConfig.getOrElse(List, Object) but returns a primitive int.
getIntOrElse(List<String>, IntSupplier) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
Like UnmodifiableConfig.getOrElse(List, Supplier) but returns a primitive int.
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
Like UnmodifiableConfig.get(String) but returns a primitive long.
getLong(List<String>) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
Like UnmodifiableConfig.get(List) but returns a primitive long.
getLongOrElse(long) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig.Entry
 
getLongOrElse(String, long) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
Like UnmodifiableConfig.getOrElse(String, Object) but returns a primitive long.
getLongOrElse(String, LongSupplier) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
Like UnmodifiableConfig.getOrElse(String, Supplier) but returns a primitive long.
getLongOrElse(List<String>, long) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
Like UnmodifiableConfig.getOrElse(List, Object) but returns a primitive long.
getLongOrElse(List<String>, LongSupplier) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
Like UnmodifiableConfig.getOrElse(List, Supplier) but returns a primitive long.
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>) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
getOptionalEnum(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
getOptionalEnum(List<String>, Class<T>, EnumGetMethod) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
Gets an optional Enum value from the config.
getOptionalInt() - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig.Entry
 
getOptionalInt(String) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
Like UnmodifiableConfig.getOptional(String) but returns a primitive int.
getOptionalInt(List<String>) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
Like UnmodifiableConfig.getOptional(List) but returns a primitive int.
getOptionalLong() - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig.Entry
 
getOptionalLong(String) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
Like UnmodifiableConfig.getOptional(String) but returns a primitive long.
getOptionalLong(List<String>) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
Like UnmodifiableConfig.getOptional(List) but returns a primitive long.
getOrDefault(Object, ExternalV) - Method in class com.electronwill.nightconfig.core.utils.TransformingMap
 
getOrElse(String, Supplier<T>) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
Gets a value from the config.
getOrElse(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(List<String>, T) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
Gets a value from the config.
getOrElse(T) - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig.Entry
 
getPath() - Method in class com.electronwill.nightconfig.core.AbstractCommentedConfig.CommentedEntryWrapper
 
getRaw(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.AbstractConfig
 
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
Returns the entry's value without converting NullObject.NULL_OBJECT to null.
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
 

H

hasCharacteristics(int) - Method in class com.electronwill.nightconfig.core.utils.TransformingSpliterator
 
hashCode() - Method in class com.electronwill.nightconfig.core.AbstractCommentedConfig.CommentedEntryWrapper
 
hashCode() - Method in class com.electronwill.nightconfig.core.AbstractConfig.EntryWrapper
 
hashCode() - Method in class com.electronwill.nightconfig.core.AbstractConfig
 
hashCode() - Method in class com.electronwill.nightconfig.core.io.CharsWrapper
Calculates the hash code of this CharsWrapper.
hashCode() - Method in class com.electronwill.nightconfig.core.NullObject
 
hashCode() - Method in class com.electronwill.nightconfig.core.utils.ObservedEntry
 
hashCode() - Method in class com.electronwill.nightconfig.core.utils.ObservedIterator
 
hashCode() - Method in class com.electronwill.nightconfig.core.utils.ObservedMap
 
hashCode() - Method in class com.electronwill.nightconfig.core.utils.ObservedSet
 
hashCode() - Method in class com.electronwill.nightconfig.core.utils.TransformingCollection
 
hashCode() - Method in class com.electronwill.nightconfig.core.utils.TransformingIterator
 
hashCode() - Method in class com.electronwill.nightconfig.core.utils.TransformingSpliterator
 
hashCode() - Method in class com.electronwill.nightconfig.core.utils.UnmodifiableConfigWrapper
 
hasNext() - Method in class com.electronwill.nightconfig.core.utils.ObservedIterator
 
hasNext() - Method in class com.electronwill.nightconfig.core.utils.TransformingIterator
 
hasPrevious() - Method in class com.electronwill.nightconfig.core.utils.TransformingListIterator
 

I

ignoreCase() - Method in annotation type com.electronwill.nightconfig.core.conversion.SpecStringInArray
 
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(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(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(Path) - 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
Creates a CommentedConfig with format InMemoryCommentedFormat.defaultInstance().
inMemory() - Static method in interface com.electronwill.nightconfig.core.Config
Creates a Config with format InMemoryFormat.defaultInstance().
InMemoryCommentedFormat - Class in com.electronwill.nightconfig.core
The commented version of InMemoryFormat
inMemoryConcurrent() - Static method in interface com.electronwill.nightconfig.core.CommentedConfig
Creates a CommentedConfig with format InMemoryFormat.defaultInstance().
inMemoryConcurrent() - Static method in interface com.electronwill.nightconfig.core.Config
Creates a thread-safe Config with format InMemoryFormat.defaultInstance().
InMemoryFormat - Class in com.electronwill.nightconfig.core
A ConfigFormat that is only in memory.
inMemoryUniversal() - Static method in interface com.electronwill.nightconfig.core.Config
Creates a Config with format InMemoryFormat.withUniversalSupport().
inMemoryUniversalConcurrent() - Static method in interface com.electronwill.nightconfig.core.Config
Creates a thread-safe Config with format InMemoryFormat.withUniversalSupport().
insertionOrder - Variable in class com.electronwill.nightconfig.core.file.GenericBuilder
 
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
Thrown when a value that is associated to a field, or that should become associated to a field, doesn't conform to the @Spec(something) annotation of that field.
InvalidValueException(String) - Constructor for exception com.electronwill.nightconfig.core.conversion.InvalidValueException
 
InvalidValueException(String, Object...) - Constructor for exception com.electronwill.nightconfig.core.conversion.InvalidValueException
Creates a new InvalidException with a formatted message.
InvalidValueException(String, Throwable) - Constructor for exception com.electronwill.nightconfig.core.conversion.InvalidValueException
 
isCaseSensitive() - Method in enum com.electronwill.nightconfig.core.EnumGetMethod
 
isCorrect(Config) - Method in class com.electronwill.nightconfig.core.ConfigSpec
Checks that a configuration is conform to the specification.
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.
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.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.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() - 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 class com.electronwill.nightconfig.core.AbstractConfig
 
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.TransformingCollection
 

K

keySet() - Method in class com.electronwill.nightconfig.core.utils.ObservedMap
 
keySet() - Method in class com.electronwill.nightconfig.core.utils.TransformingMap
 

L

lastIndexOf(Object) - Method in class com.electronwill.nightconfig.core.utils.TransformingList
 
length() - Method in class com.electronwill.nightconfig.core.io.CharsWrapper.Builder
Gets the length (number of characters) of this builder.
length() - Method in class com.electronwill.nightconfig.core.io.CharsWrapper
 
listIterator() - Method in class com.electronwill.nightconfig.core.utils.TransformingList
 
listIterator(int) - Method in class com.electronwill.nightconfig.core.utils.TransformingList
 
load() - Method in class com.electronwill.nightconfig.core.conversion.ConvertedCommentedFileConfig
 
load() - Method in class com.electronwill.nightconfig.core.conversion.ConvertedFileConfig
 
load() - Method in interface com.electronwill.nightconfig.core.file.FileConfig
(Re)loads this config from the file.

M

mapCreator - Variable in class com.electronwill.nightconfig.core.AbstractConfig
 
mapCreator - Variable in class com.electronwill.nightconfig.core.file.GenericBuilder
 
mapEntry - Variable in class com.electronwill.nightconfig.core.AbstractConfig.EntryWrapper
 
mark(int) - Method in class com.electronwill.nightconfig.core.utils.FastStringReader
 
markSupported() - Method in class com.electronwill.nightconfig.core.utils.FastStringReader
 
max() - Method in annotation type com.electronwill.nightconfig.core.conversion.SpecDoubleInRange
 
max() - Method in annotation type com.electronwill.nightconfig.core.conversion.SpecFloatInRange
 
max() - Method in annotation type com.electronwill.nightconfig.core.conversion.SpecIntInRange
 
max() - Method in annotation type com.electronwill.nightconfig.core.conversion.SpecLongInRange
 
max() - Method in annotation type com.electronwill.nightconfig.core.conversion.SpecStringInRange
 
merge(K, ExternalV, BiFunction<? super ExternalV, ? super ExternalV, ? extends ExternalV>) - Method in class com.electronwill.nightconfig.core.utils.TransformingMap
 
merge(K, V, BiFunction<? super V, ? super V, ? extends V>) - Method in class com.electronwill.nightconfig.core.utils.ObservedMap
 
MERGE - com.electronwill.nightconfig.core.io.ParsingMode
Merges the parsed config with the existing one: the parsed values are prioritary.
method() - Method in annotation type com.electronwill.nightconfig.core.conversion.SpecEnum
How to interpret the config value.
min() - Method in annotation type com.electronwill.nightconfig.core.conversion.SpecDoubleInRange
 
min() - Method in annotation type com.electronwill.nightconfig.core.conversion.SpecFloatInRange
 
min() - Method in annotation type com.electronwill.nightconfig.core.conversion.SpecIntInRange
 
min() - Method in annotation type com.electronwill.nightconfig.core.conversion.SpecLongInRange
 
min() - Method in annotation type com.electronwill.nightconfig.core.conversion.SpecStringInRange
 

N

NAME - com.electronwill.nightconfig.core.EnumGetMethod
If the config value is an enum constant, returns it as it is.
NAME_IGNORECASE - com.electronwill.nightconfig.core.EnumGetMethod
If the config value is an enum constant, returns it as it is.
nefAction - Variable in class com.electronwill.nightconfig.core.file.GenericBuilder
 
NewlineStyle - Enum in com.electronwill.nightconfig.core.io
A style of newline.
next() - Method in class com.electronwill.nightconfig.core.utils.ObservedIterator
 
next() - Method in class com.electronwill.nightconfig.core.utils.TransformingIterator
 
nextIndex() - Method in class com.electronwill.nightconfig.core.utils.TransformingListIterator
 
NoFormatFoundException - Exception in com.electronwill.nightconfig.core.file
 
NoFormatFoundException(String) - Constructor for exception com.electronwill.nightconfig.core.file.NoFormatFoundException
 
NoFormatFoundException(String, Throwable) - Constructor for exception com.electronwill.nightconfig.core.file.NoFormatFoundException
 
notEnoughData() - Static method in exception com.electronwill.nightconfig.core.io.ParsingException
 
NULL_OBJECT - Static variable in class com.electronwill.nightconfig.core.NullObject
Represents a "null" value, without being null.
NullObject - Class in com.electronwill.nightconfig.core
Singleton for representing null values in Maps that don't support them.

O

ObjectBinder - Class in com.electronwill.nightconfig.core.conversion
Creates configurations bound to an object or class, getting its values from its fields.
ObjectBinder() - Constructor for class com.electronwill.nightconfig.core.conversion.ObjectBinder
Creates a new ObjectBinder with the default parameters.
ObjectBinder(boolean, boolean) - Constructor for class com.electronwill.nightconfig.core.conversion.ObjectBinder
Creates a new ObjectBinder with advanced parameters.
ObjectConverter - Class in com.electronwill.nightconfig.core.conversion
Converts Java objects to configs and vice-versa.
ObjectConverter() - Constructor for class com.electronwill.nightconfig.core.conversion.ObjectConverter
Creates a new ObjectConverter with the default parameters.
ObjectConverter(boolean, boolean) - Constructor for class com.electronwill.nightconfig.core.conversion.ObjectConverter
Creates a new ObjectConverter with advanced parameters.
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
 
of(ConfigFormat<? extends CommentedConfig>) - Static method in interface com.electronwill.nightconfig.core.CommentedConfig
Creates a CommentedConfig of the given format.
of(ConfigFormat<? extends Config>) - Static method in interface com.electronwill.nightconfig.core.Config
Creates a Config of the given format.
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) - Static method in interface com.electronwill.nightconfig.core.file.FileConfig
Creates a new FileConfig based on the specified file.
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(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(String) - 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.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.
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(Path) - 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.FileConfig
Creates a new FileConfig based on the specified file.
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(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(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(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.
ofConcurrent(ConfigFormat<? extends CommentedConfig>) - Static method in interface com.electronwill.nightconfig.core.CommentedConfig
Creates a thread-safe CommentedConfig of the given format.
ofConcurrent(ConfigFormat<? extends Config>) - Static method in interface com.electronwill.nightconfig.core.Config
Creates a thread-safe Config of the given format.
ofConcurrent(File) - Static method in interface com.electronwill.nightconfig.core.file.CommentedFileConfig
Creates a new thread-safe CommentedFileConfig based on the specified file and format.
ofConcurrent(File) - Static method in interface com.electronwill.nightconfig.core.file.FileConfig
Creates a new thread-safe FileConfig based on the specified file.
ofConcurrent(File, ConfigFormat<?>) - Static method in interface com.electronwill.nightconfig.core.file.FileConfig
Creates a new thread-safe FileConfig based on the specified file and format.
ofConcurrent(File, ConfigFormat<? extends CommentedConfig>) - Static method in interface com.electronwill.nightconfig.core.file.CommentedFileConfig
Creates a new trhead-safe CommentedFileConfig based on the specified file and format.
ofConcurrent(String) - Static method in interface com.electronwill.nightconfig.core.file.CommentedFileConfig
Creates a new trhead-safe CommentedFileConfig based on the specified file and format.
ofConcurrent(String) - Static method in interface com.electronwill.nightconfig.core.file.FileConfig
Creates a new thread-safe FileConfig based on the specified file.
ofConcurrent(String, ConfigFormat<?>) - Static method in interface com.electronwill.nightconfig.core.file.FileConfig
Creates a new thread-safe FileConfig based on the specified file and format.
ofConcurrent(String, ConfigFormat<? extends CommentedConfig>) - Static method in interface com.electronwill.nightconfig.core.file.CommentedFileConfig
Creates a new trhead-safe CommentedFileConfig based on the specified file and format.
ofConcurrent(Path) - Static method in interface com.electronwill.nightconfig.core.file.CommentedFileConfig
Creates a new thread-safe CommentedFileConfig based on the specified file and format.
ofConcurrent(Path) - Static method in interface com.electronwill.nightconfig.core.file.FileConfig
Creates a new thread-safe FileConfig based on the specified file.
ofConcurrent(Path, ConfigFormat<?>) - Static method in interface com.electronwill.nightconfig.core.file.FileConfig
Creates a new thread-safe FileConfig based on the specified file and format.
ofConcurrent(Path, ConfigFormat<? extends CommentedConfig>) - Static method in interface com.electronwill.nightconfig.core.file.CommentedFileConfig
Creates a new trhead-safe CommentedFileConfig based on the specified file and format.
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.
ORDINAL_OR_NAME - com.electronwill.nightconfig.core.EnumGetMethod
If the config value is an enum constant, returns it as it is.
ORDINAL_OR_NAME_IGNORECASE - com.electronwill.nightconfig.core.EnumGetMethod
If the config value is an enum constant, returns it as it is.

P

parallelStream() - Method in class com.electronwill.nightconfig.core.utils.TransformingCollection
 
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(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(InputStream) - Method in interface com.electronwill.nightconfig.core.io.ConfigParser
Parses a configuration with the UTF-8 charset.
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(InputStream, Charset) - Method in interface com.electronwill.nightconfig.core.io.ConfigParser
Parses a configuration.
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(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.
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(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.
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
Sets the ParsingMode used for FileConfig.load()
ParsingMode - Enum in com.electronwill.nightconfig.core.io
 
Path - Annotation Type in com.electronwill.nightconfig.core.conversion
Indicates the path, in the config, of the annotated element.
peek() - 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 class com.electronwill.nightconfig.core.io.AbstractInput
 
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() - Method in interface com.electronwill.nightconfig.core.io.CharacterInput
Returns the next character, without moving the reading position forward.
peekChar(int) - Method in class com.electronwill.nightconfig.core.io.AbstractInput
 
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() - 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
On a field: indicates that, when converting a config to a java object, the value of the field must not be overriden by a null value from the config.
previous() - Method in class com.electronwill.nightconfig.core.utils.TransformingListIterator
 
previousIndex() - Method in class com.electronwill.nightconfig.core.utils.TransformingListIterator
 
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(Config, String, Object) - Method in enum com.electronwill.nightconfig.core.io.ParsingMode
Puts (set or add) a value into the config
put(Config, List<String>, Object) - Method in enum com.electronwill.nightconfig.core.io.ParsingMode
Puts (set or add) a value into the config
put(Class<T>, Function<? super T, Object>) - Method in class com.electronwill.nightconfig.core.conversion.ConversionTable
Puts a conversion function to the table.
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, ExternalV) - Method in class com.electronwill.nightconfig.core.utils.TransformingMap
 
put(K, V) - Method in class com.electronwill.nightconfig.core.utils.ObservedMap
 
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 ExternalV>) - Method in class com.electronwill.nightconfig.core.utils.TransformingMap
 
putAll(Map<? extends K, ? extends V>) - Method in class com.electronwill.nightconfig.core.utils.ObservedMap
 
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.utils.CommentedConfigWrapper
 
putAllComments(UnmodifiableCommentedConfig) - Method in class com.electronwill.nightconfig.core.utils.FakeCommentedConfig
 
putAllComments(Map<String, UnmodifiableCommentedConfig.CommentNode>) - Method in interface com.electronwill.nightconfig.core.CommentedConfig
Puts the comments in the given map to this config.
putAllComments(Map<String, UnmodifiableCommentedConfig.CommentNode>) - Method in class com.electronwill.nightconfig.core.utils.CommentedConfigWrapper
 
putAllComments(Map<String, UnmodifiableCommentedConfig.CommentNode>) - Method in class com.electronwill.nightconfig.core.utils.FakeCommentedConfig
 
putIfAbsent(K, ExternalV) - Method in class com.electronwill.nightconfig.core.utils.TransformingMap
 
putIfAbsent(K, V) - Method in class com.electronwill.nightconfig.core.utils.ObservedMap
 

R

read() - Method in class com.electronwill.nightconfig.core.io.AbstractInput
 
read() - Method in interface com.electronwill.nightconfig.core.io.CharacterInput
Reads the next character.
read() - Method in class com.electronwill.nightconfig.core.utils.FastStringReader
 
read(char[], int, int) - Method in class com.electronwill.nightconfig.core.utils.FastStringReader
 
read(int) - Method in class com.electronwill.nightconfig.core.io.ArrayInput
 
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_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
An implementation of CharacterInput based on a Reader.
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
Thrown when an important reflective operation fails.
ReflectionException(String) - Constructor for exception com.electronwill.nightconfig.core.conversion.ReflectionException
 
ReflectionException(String, Throwable) - Constructor for exception com.electronwill.nightconfig.core.conversion.ReflectionException
 
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() - Method in class com.electronwill.nightconfig.core.utils.ObservedIterator
 
remove() - Method in class com.electronwill.nightconfig.core.utils.TransformingIterator
 
remove(int) - Method in class com.electronwill.nightconfig.core.utils.TransformingList
 
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(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.TransformingCollection
 
remove(Object) - Method in class com.electronwill.nightconfig.core.utils.TransformingMap
 
remove(Object, Object) - Method in class com.electronwill.nightconfig.core.utils.ObservedMap
 
remove(Object, Object) - Method in class com.electronwill.nightconfig.core.utils.TransformingMap
 
remove(String) - Method in interface com.electronwill.nightconfig.core.Config
Removes a value from the config.
remove(List<String>) - Method in class com.electronwill.nightconfig.core.AbstractConfig
 
remove(List<String>) - Method in interface com.electronwill.nightconfig.core.Config
Removes a value from the config.
remove(List<String>) - Method in class com.electronwill.nightconfig.core.utils.ConfigWrapper
 
REMOVE - com.electronwill.nightconfig.core.ConfigSpec.CorrectionAction
Means that the value was removed from the config.
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.TransformingCollection
 
removeComment() - Method in class com.electronwill.nightconfig.core.AbstractCommentedConfig.CommentedEntryWrapper
 
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 class com.electronwill.nightconfig.core.AbstractCommentedConfig
 
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.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 ExternalV>) - Method in class com.electronwill.nightconfig.core.utils.TransformingCollection
 
removeIf(Predicate<? super K>) - Method in class com.electronwill.nightconfig.core.utils.ObservedSet
 
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.
replace(K, ExternalV) - Method in class com.electronwill.nightconfig.core.utils.TransformingMap
 
replace(K, ExternalV, ExternalV) - Method in class com.electronwill.nightconfig.core.utils.TransformingMap
 
replace(K, V) - Method in class com.electronwill.nightconfig.core.utils.ObservedMap
 
replace(K, V, V) - Method in class com.electronwill.nightconfig.core.utils.ObservedMap
 
REPLACE - com.electronwill.nightconfig.core.ConfigSpec.CorrectionAction
Means that the value was replaced.
REPLACE - com.electronwill.nightconfig.core.io.ParsingMode
Replaces the existing config by the parsed one.
REPLACE - com.electronwill.nightconfig.core.io.WritingMode
Replaces the existing file.
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 ExternalV, ? extends ExternalV>) - Method in class com.electronwill.nightconfig.core.utils.TransformingMap
 
replaceAll(BiFunction<? super K, ? super V, ? extends V>) - Method in class com.electronwill.nightconfig.core.utils.ObservedMap
 
reset() - Method in class com.electronwill.nightconfig.core.utils.FastStringReader
 
retainAll(Collection<?>) - Method in class com.electronwill.nightconfig.core.utils.ObservedSet
 
retainAll(Collection<?>) - Method in class com.electronwill.nightconfig.core.utils.TransformingCollection
 
run(Path, ConfigFormat<?>) - Method in interface com.electronwill.nightconfig.core.file.FileNotFoundAction
Performs the action.

S

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.
searchTransformation - Variable in class com.electronwill.nightconfig.core.utils.TransformingCollection
 
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(int, ExternalV) - Method in class com.electronwill.nightconfig.core.utils.TransformingList
 
set(ExternalV) - Method in class com.electronwill.nightconfig.core.utils.TransformingListIterator
 
set(String, Object) - Method in interface com.electronwill.nightconfig.core.Config
Sets a config value.
set(List<String>, Object) - Method in class com.electronwill.nightconfig.core.AbstractConfig
 
set(List<String>, Object) - Method in interface com.electronwill.nightconfig.core.Config
Sets a config value.
set(List<String>, Object) - Method in class com.electronwill.nightconfig.core.utils.ConfigWrapper
 
setComment(String) - Method in class com.electronwill.nightconfig.core.AbstractCommentedConfig.CommentedEntryWrapper
 
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 class com.electronwill.nightconfig.core.AbstractCommentedConfig
 
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.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.
size() - Method in class com.electronwill.nightconfig.core.AbstractConfig
 
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.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.
SPACES_2 - com.electronwill.nightconfig.core.io.IndentStyle
1 indent = 2 spaces
SPACES_4 - com.electronwill.nightconfig.core.io.IndentStyle
1 indent = 4 spaces
SPACES_8 - com.electronwill.nightconfig.core.io.IndentStyle
1 indent = 8 spaces
SpecClassInArray - Annotation Type in com.electronwill.nightconfig.core.conversion
Specifies that the value of a field must have a specific class.
SpecDoubleInRange - Annotation Type in com.electronwill.nightconfig.core.conversion
Specifies that the value of a field must be in a certain range (inclusive).
SpecEnum - Annotation Type in com.electronwill.nightconfig.core.conversion
Specifies that the value of a field must correspond to an enum and that the value must be read using the given EnumGetMethod.
SpecFloatInRange - Annotation Type in com.electronwill.nightconfig.core.conversion
Specifies that the value of a field must be in a certain range (inclusive).
SpecIntInRange - Annotation Type in com.electronwill.nightconfig.core.conversion
Specifies that the value of a field must be in a certain range (inclusive).
SpecLongInRange - Annotation Type in com.electronwill.nightconfig.core.conversion
Specifies that the value of a field must be in a certain range (inclusive).
SpecNotNull - Annotation Type in com.electronwill.nightconfig.core.conversion
Specifies that the value of a field must not be null.
SpecStringInArray - Annotation Type in com.electronwill.nightconfig.core.conversion
Specifies that the value of a field must be a String that is contained in a certain array.
SpecStringInRange - Annotation Type in com.electronwill.nightconfig.core.conversion
Specifies that the value of a field must be a String in a certain range (inclusive, comparison done lexicographically).
SpecValidator - Annotation Type in com.electronwill.nightconfig.core.conversion
Indicates that the value of the field must be validated by the specified validator class.
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.
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.
storage - Variable in class com.electronwill.nightconfig.core.ConfigSpec
 
stream() - Method in class com.electronwill.nightconfig.core.utils.TransformingCollection
 
strict() - Method in annotation type com.electronwill.nightconfig.core.conversion.SpecClassInArray
 
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
subView(int) - Method in class com.electronwill.nightconfig.core.io.CharsWrapper
Creates a view of a part of this CharsWrapper.
subView(int, 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-synchronized", that is, its FileConfig.save() method blocks until the write operation completes.
system() - Static method in enum com.electronwill.nightconfig.core.io.NewlineStyle
 

T

TABS - com.electronwill.nightconfig.core.io.IndentStyle
1 indent = 1 tab character
THROW_ERROR - Static variable in interface com.electronwill.nightconfig.core.file.FileNotFoundAction
 
toArray() - Method in class com.electronwill.nightconfig.core.utils.ObservedSet
 
toArray() - Method in class com.electronwill.nightconfig.core.utils.TransformingCollection
 
toArray(T[]) - Method in class com.electronwill.nightconfig.core.utils.ObservedSet
 
toArray(T[]) - Method in class com.electronwill.nightconfig.core.utils.TransformingCollection
 
toConfig(Class<?>, Config) - Method in class com.electronwill.nightconfig.core.conversion.ObjectConverter
 
toConfig(Class<?>, Supplier<C>) - Method in class com.electronwill.nightconfig.core.conversion.ObjectConverter
 
toConfig(Object, Config) - Method in class com.electronwill.nightconfig.core.conversion.ObjectConverter
Converts an Object to a Config.
toConfig(Object, Supplier<C>) - Method in class com.electronwill.nightconfig.core.conversion.ObjectConverter
Converts an Object to a Config.
toObject(UnmodifiableConfig, Object) - Method in class com.electronwill.nightconfig.core.conversion.ObjectConverter
Converts a Config to an Object.
toObject(UnmodifiableConfig, Supplier<O>) - Method in class com.electronwill.nightconfig.core.conversion.ObjectConverter
Converts a Config to an Object.
toString() - Method in class com.electronwill.nightconfig.core.AbstractConfig
 
toString() - Method in class com.electronwill.nightconfig.core.conversion.ConversionTable
 
toString() - Method in class com.electronwill.nightconfig.core.io.CharsWrapper.Builder
 
toString() - Method in class com.electronwill.nightconfig.core.io.CharsWrapper
 
toString() - Method in class com.electronwill.nightconfig.core.NullObject
 
toString() - Method in class com.electronwill.nightconfig.core.utils.CommentedConfigWrapper
 
toString() - Method in class com.electronwill.nightconfig.core.utils.ConfigWrapper
 
toString() - Method in class com.electronwill.nightconfig.core.utils.TransformingCollection
 
toString() - Method in class com.electronwill.nightconfig.core.utils.TransformingIterator
 
toString() - Method in class com.electronwill.nightconfig.core.utils.TransformingSpliterator
 
toString(int) - Method in class com.electronwill.nightconfig.core.io.CharsWrapper.Builder
 
toString(int, int) - Method in class com.electronwill.nightconfig.core.io.CharsWrapper.Builder
 
TransformingCollection<InternalV,​ExternalV> - Class in com.electronwill.nightconfig.core.utils
A TransformingCollection applies "just in time" transformations to a Collection<InternalV> in order to make it like a Collection<ExternalV>.
TransformingCollection(Collection<InternalV>, Function<? super InternalV, ? extends ExternalV>, Function<? super ExternalV, ? extends InternalV>, Function<Object, Object>) - Constructor for class com.electronwill.nightconfig.core.utils.TransformingCollection
 
TransformingIterator<InternalV,​ExternalV> - Class in com.electronwill.nightconfig.core.utils
A TransformingIterator applies "just in time" transformations to an Interator<InternalV> in order to make it like an Interator<ExternalV>.
TransformingIterator(Iterator<InternalV>, Function<? super InternalV, ? extends ExternalV>) - Constructor for class com.electronwill.nightconfig.core.utils.TransformingIterator
 
TransformingList<InternalV,​ExternalV> - Class in com.electronwill.nightconfig.core.utils
 
TransformingList(List<InternalV>, Function<? super InternalV, ? extends ExternalV>, Function<? super ExternalV, ? extends InternalV>, Function<Object, Object>) - Constructor for class com.electronwill.nightconfig.core.utils.TransformingList
 
TransformingListIterator<InternalV,​ExternalV> - Class in com.electronwill.nightconfig.core.utils
 
TransformingListIterator(ListIterator<InternalV>, Function<? super InternalV, ? extends ExternalV>, Function<? super ExternalV, ? extends InternalV>) - Constructor for class com.electronwill.nightconfig.core.utils.TransformingListIterator
 
TransformingMap<K,​InternalV,​ExternalV> - Class in com.electronwill.nightconfig.core.utils
A TransformingMap contains an internal Map<K, InternalV> values, and exposes the features of a Map<K, ExternalV> applying transformations to the values.
TransformingMap(Map<K, InternalV>, Function<? super InternalV, ? extends ExternalV>, Function<? super ExternalV, ? extends InternalV>, Function<Object, Object>) - Constructor for class com.electronwill.nightconfig.core.utils.TransformingMap
Create a new TransformingMap.
TransformingSet<InternalV,​ExternalV> - Class in com.electronwill.nightconfig.core.utils
A TransformingSet applies "just in time" transformations to an Set<InternalV> in order to make it like an Set<ExternalV>.
TransformingSet(Set<InternalV>, Function<? super InternalV, ? extends ExternalV>, Function<? super ExternalV, ? extends InternalV>, Function<Object, Object>) - Constructor for class com.electronwill.nightconfig.core.utils.TransformingSet
 
TransformingSpliterator<InternalV,​ExternalV> - Class in com.electronwill.nightconfig.core.utils
A TransformingSpliterator applies "just in time" transformations to an Spliterator<InternalV> in order to make it like an Spliterator<ExternalV>.
TransformingSpliterator(Spliterator<InternalV>, Function<? super InternalV, ? extends ExternalV>, Function<? super ExternalV, ? extends InternalV>) - Constructor for class com.electronwill.nightconfig.core.utils.TransformingSpliterator
 
trimmedView() - Method in class com.electronwill.nightconfig.core.io.CharsWrapper
Creates a trimmed view of this CharsWrapper, with any leading and trailing whitespace removed.
tryAdvance(Consumer<? super ExternalV>) - Method in class com.electronwill.nightconfig.core.utils.TransformingSpliterator
 
trySplit() - Method in class com.electronwill.nightconfig.core.utils.TransformingSpliterator
 

U

undefine(String) - Method in class com.electronwill.nightconfig.core.ConfigSpec
Undefines an entry.
undefine(List<String>) - Method in class com.electronwill.nightconfig.core.ConfigSpec
Undefines an entry.
UNIX - com.electronwill.nightconfig.core.io.NewlineStyle
LF character '\n'
unmodifiable() - Method in interface com.electronwill.nightconfig.core.CommentedConfig
 
unmodifiable() - Method in interface com.electronwill.nightconfig.core.Config
Returns an Unmodifiable view of the config.
UnmodifiableCommentedConfig - Interface in com.electronwill.nightconfig.core
An unmodifiable config that supports comments.
UnmodifiableCommentedConfig.CommentNode - Class in com.electronwill.nightconfig.core
 
UnmodifiableCommentedConfig.Entry - Interface in com.electronwill.nightconfig.core
An unmodifiable commented config entry.
UnmodifiableConfig - Interface in com.electronwill.nightconfig.core
An unmodifiable (read-only) configuration that contains key/value mappings.
UnmodifiableConfig.Entry - Interface in com.electronwill.nightconfig.core
An unmodifiable config entry.
UnmodifiableConfigWrapper<C extends UnmodifiableConfig> - Class in com.electronwill.nightconfig.core.utils
 
UnmodifiableConfigWrapper(C) - Constructor for class com.electronwill.nightconfig.core.utils.UnmodifiableConfigWrapper
 
update(String, Object) - Method in interface com.electronwill.nightconfig.core.Config
For scala: sets a config value.
update(List<String>, Object) - Method in interface com.electronwill.nightconfig.core.Config
For scala: sets a config value.
Utils - Class in com.electronwill.nightconfig.core.io
Serialization utilities.

V

validate(Object, Class<T>) - Method in enum com.electronwill.nightconfig.core.EnumGetMethod
 
value() - Method in annotation type com.electronwill.nightconfig.core.conversion.AdvancedPath
The path of the value in the configuration.
value() - Method in annotation type com.electronwill.nightconfig.core.conversion.Conversion
The conversion class used to convert the field's value when it is put into/read from a configuration
value() - Method in annotation type com.electronwill.nightconfig.core.conversion.Path
The path of the value in the configuration.
value() - Method in annotation type com.electronwill.nightconfig.core.conversion.SpecClassInArray
 
value() - Method in annotation type com.electronwill.nightconfig.core.conversion.SpecStringInArray
 
value() - Method in annotation type com.electronwill.nightconfig.core.conversion.SpecValidator
The validator class used to check that the value is correct.
valueMap() - Method in class com.electronwill.nightconfig.core.AbstractConfig
 
valueMap() - Method in interface com.electronwill.nightconfig.core.Config
Returns a Map view of the config's values.
valueMap() - Method in interface com.electronwill.nightconfig.core.UnmodifiableConfig
Returns a Map view of the config's values.
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.
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() - Method in class com.electronwill.nightconfig.core.utils.ObservedMap
 
values() - Method in class com.electronwill.nightconfig.core.utils.TransformingMap
 

W

WINDOWS - com.electronwill.nightconfig.core.io.NewlineStyle
CRLF sequence "\r\n"
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(UnmodifiableConfig) - Method in class com.electronwill.nightconfig.core.conversion.ConversionTable
Returns an UnmodifiableConfig that converts "just-in-time" the values of the specified UnmodifiableConfig.
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.
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(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(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.
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.
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(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(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.
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.
write(char) - Method in interface com.electronwill.nightconfig.core.io.CharacterOutput
Writes a character.
write(char) - Method in class com.electronwill.nightconfig.core.io.CharsWrapper.Builder
 
write(char) - Method in class com.electronwill.nightconfig.core.io.WriterOutput
 
write(char...) - Method in interface com.electronwill.nightconfig.core.io.CharacterOutput
Writes an array of characters.
write(char...) - Method in class com.electronwill.nightconfig.core.io.CharsWrapper.Builder
 
write(char[], int, int) - Method in interface com.electronwill.nightconfig.core.io.CharacterOutput
Writes a portion of an array of characters.
write(char[], int, int) - Method in class com.electronwill.nightconfig.core.io.CharsWrapper.Builder
 
write(char[], int, int) - Method in class com.electronwill.nightconfig.core.io.WriterOutput
 
write(int) - Method in class com.electronwill.nightconfig.core.io.CharsWrapper.Builder
 
write(CharsWrapper) - Method in interface com.electronwill.nightconfig.core.io.CharacterOutput
Writes all the characters in the given CharsWrapper.
write(CharsWrapper) - Method in class com.electronwill.nightconfig.core.io.CharsWrapper.Builder
 
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, OutputStream) - 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, Writer) - 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(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(String) - Method in interface com.electronwill.nightconfig.core.io.CharacterOutput
Writes all the characters in the given String.
write(String) - Method in class com.electronwill.nightconfig.core.io.CharsWrapper.Builder
 
write(String, int, int) - Method in interface com.electronwill.nightconfig.core.io.CharacterOutput
Writes a portion of a String.
write(String, int, int) - Method in class com.electronwill.nightconfig.core.io.CharsWrapper.Builder
 
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
Sets the WritingMode used for FileConfig.save()
WritingMode - Enum in com.electronwill.nightconfig.core.io
 
A B C D E F G H I K L M N O P R S T U V W 
All Classes All Packages