Package com.electronwill.nightconfig.core.conversion
package com.electronwill.nightconfig.core.conversion
-
ClassDescriptionIndicates the path, in the config, of the annotated element.Indicates that the value of the field must be converted with the specified converter class.Contains conversions functions organized by value's type.A Config's wrapper that converts the values that are read from and put into the config.A Config's wrapper that converts the values that are read from and put into the configConverter<FieldType,
ConfigValueType> Performs conversions between field values and config values.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.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.Creates configurations bound to an object or class, getting its values from its fields.Converts Java objects to configs and vice-versa.Indicates the path, in the config, of the annotated element.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.Thrown when an important reflective operation fails.Specifies that the value of a field must have a specific class.Specifies that the value of a field must be in a certain range (inclusive).Specifies that the value of a field must correspond to an enum and that the value must be read using the givenEnumGetMethod.Specifies that the value of a field must be in a certain range (inclusive).Specifies that the value of a field must be in a certain range (inclusive).Specifies that the value of a field must be in a certain range (inclusive).Specifies that the value of a field must not be null.Specifies that the value of a field must be a String that is contained in a certain array.Specifies that the value of a field must be a String in a certain range (inclusive, comparison done lexicographically).Indicates that the value of the field must be validated by the specified validator class.