Index

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

A

AbstractConfigWrapper - Class in io.github.ttno1.configvalidation.defaultwrappers
A ConfigWrapper that gets Object values from some source for a given path.
AbstractConfigWrapper() - Constructor for class io.github.ttno1.configvalidation.defaultwrappers.AbstractConfigWrapper
 
accept(T) - Method in interface io.github.ttno1.configvalidation.CheckedConsumer
 
addNode(String, ConfigNode<?, ?>) - Method in class io.github.ttno1.configvalidation.ConfigSpec
Adds the node to this ConfigSpec at the specified path.
Replaces any node that was previously at the specified path.
addNodes(Map<String, ConfigNode<?, ?>>) - Method in class io.github.ttno1.configvalidation.ConfigSpec
Adds the specified nodes to this ConfigSpec at their corresponding paths.
Replaces any nodes that were previously at any specified paths.
andThen(CheckedConsumer<T, E>) - Method in interface io.github.ttno1.configvalidation.CheckedConsumer
 

B

BaseType - Enum Class in io.github.ttno1.configvalidation
 
BOOLEAN - Enum constant in enum class io.github.ttno1.configvalidation.BaseType
 
BYTE - Enum constant in enum class io.github.ttno1.configvalidation.BaseType
 

C

Cfg - Class in io.github.ttno1.configvalidation
Factory class for creating ConfigNodes, ConfigLists, and ConfigSpecs.
Cfg.List - Class in io.github.ttno1.configvalidation
 
Cfg.Node - Class in io.github.ttno1.configvalidation
 
CheckedConsumer<T,E> - Interface in io.github.ttno1.configvalidation
Identical to Consumer except that the CheckedConsumer.accept(Object) method may throw a checked exception.
CommonsConfigWrapper - Class in io.github.ttno1.configvalidation.defaultwrappers
A ConfigWrapper that wraps an Apache Commons Config Configuration.
CommonsConfigWrapper(Configuration) - Constructor for class io.github.ttno1.configvalidation.defaultwrappers.CommonsConfigWrapper
 
CONFIG_SECTION - Enum constant in enum class io.github.ttno1.configvalidation.BaseType
 
ConfigFilter<T,U> - Interface in io.github.ttno1.configvalidation
A functional interface for functions that validate config input and optionally convert it to a new output type.
ConfigFilters are intended to be chained together with ConfigFilter.withFilter(ConfigFilter).
See ConfigFilterResult for information on the return type of this function.
ConfigFilterResult<T> - Class in io.github.ttno1.configvalidation
Represents the result of a ConfigFilter.
Specifies whether it passed or failed, the output if it passed, and the fail message if it failed.
ConfigFilters - Class in io.github.ttno1.configvalidation
Utility class with methods that provide common ConfigFilters.
ConfigFilters.FileState - Enum Class in io.github.ttno1.configvalidation
Represents the state of a file on the file system.
ConfigList<T,U,V> - Class in io.github.ttno1.configvalidation
Represents a list of elements that should exist in a configuration.
Specifies a data type, a filter, and an element filter that a list node should match.
The element filter is applied to each element separately to produce a list of type U and the filter is applied to the List<U> produced by applying the element filter to the input.
When a list is validated against a ConfigWrapper, the type of the list is verified to be correct and both filters are confirmed to have passed.
ConfigNode<T,U> - Class in io.github.ttno1.configvalidation
Represents a node that should exist in a configuration.
Specifies a data type and a filter that a configuration node should match.
When a node is validated against a ConfigWrapper, the type of the node is verified to be correct and the filter is confirmed to have passed.
ConfigSpec<U> - Class in io.github.ttno1.configvalidation
A Configuration Specification that specifies various ConfigNodes that must be present in a configuration.
This class is used to validate a config with many nodes.
Specifies list of nodes and their corresponding locations (paths) in the configuration.
When a ConfigSpec is validated against a ConfigWrapper, each of its contained nodes are validated as well.
ConfigValidationResult - Class in io.github.ttno1.configvalidation
Represents the result of a config validation operation.
Specifies whether it passed or failed and a fail message if it failed.
ConfigWrapper - Interface in io.github.ttno1.configvalidation
Abstraction over config classes from many libraries.
If the underlying config does not contain a value at a given path, the get methods in this interface return null.
If any arguments of any method are null, the methods of this interface may throw a NullPointerException.
The ConfigWrapper.getConfigSubsection(String) method called with an empty string as the argument should return a ConfigWrapper equal to this, ConfigWrapper.isConfigSubsection(String) with an empty string should return true, and ConfigWrapper.containsNode(String) with an empty string should return true.
containsNode(String) - Method in interface io.github.ttno1.configvalidation.ConfigWrapper
 
containsNode(String) - Method in class io.github.ttno1.configvalidation.defaultwrappers.AbstractConfigWrapper
 
containsNode(String) - Method in class io.github.ttno1.configvalidation.defaultwrappers.CommonsConfigWrapper
 

D

DIRECTORY - Enum constant in enum class io.github.ttno1.configvalidation.ConfigFilters.FileState
A directory that exists.
DOUBLE - Enum constant in enum class io.github.ttno1.configvalidation.BaseType
 

E

EXISTENT - Enum constant in enum class io.github.ttno1.configvalidation.ConfigFilters.FileState
A file or directory that exists.

F

fail() - Static method in class io.github.ttno1.configvalidation.ConfigFilterResult
Creates a new ConfigFilterResult that failed with an empty fail message.
fail(String) - Static method in class io.github.ttno1.configvalidation.ConfigFilterResult
Creates a new ConfigFilterResult that failed with the specified fail message.
FILE - Enum constant in enum class io.github.ttno1.configvalidation.ConfigFilters.FileState
A file that exists.
filter(T) - Method in interface io.github.ttno1.configvalidation.ConfigFilter
Checks that the input is valid and optionally converts it to a new type.
FLOAT - Enum constant in enum class io.github.ttno1.configvalidation.BaseType
 
forEach(ConfigFilter<T, U>) - Static method in class io.github.ttno1.configvalidation.ConfigFilters
Returns a filter that applies the provided filter to a list of elements of the provided filter's input type and returns a list of elements of the provided filter's output type.
Similar to Stream.map(java.util.function.Function).
Note that in the event of a failure, the returned filter will continue to apply the supplied filter to the remaining elements in the list and the fail message will contain the fail message of all failed list items.

G

get(String) - Method in class io.github.ttno1.configvalidation.defaultwrappers.AbstractConfigWrapper
Should return the object at path in its most specific type (i.e.
get(String) - Method in class io.github.ttno1.configvalidation.defaultwrappers.MapConfigWrapper
 
getBoolean(String) - Method in interface io.github.ttno1.configvalidation.ConfigWrapper
 
getBoolean(String) - Method in class io.github.ttno1.configvalidation.defaultwrappers.AbstractConfigWrapper
 
getBoolean(String) - Method in class io.github.ttno1.configvalidation.defaultwrappers.CommonsConfigWrapper
 
getByte(String) - Method in interface io.github.ttno1.configvalidation.ConfigWrapper
 
getByte(String) - Method in class io.github.ttno1.configvalidation.defaultwrappers.AbstractConfigWrapper
 
getByte(String) - Method in class io.github.ttno1.configvalidation.defaultwrappers.CommonsConfigWrapper
 
getConfigSubsection(String) - Method in interface io.github.ttno1.configvalidation.ConfigWrapper
 
getConfigSubsection(String) - Method in class io.github.ttno1.configvalidation.defaultwrappers.AbstractConfigWrapper
 
getConfigSubsection(String) - Method in class io.github.ttno1.configvalidation.defaultwrappers.CommonsConfigWrapper
 
getConfigSubsection(String) - Method in class io.github.ttno1.configvalidation.defaultwrappers.MapConfigWrapper
 
getDouble(String) - Method in interface io.github.ttno1.configvalidation.ConfigWrapper
 
getDouble(String) - Method in class io.github.ttno1.configvalidation.defaultwrappers.AbstractConfigWrapper
 
getDouble(String) - Method in class io.github.ttno1.configvalidation.defaultwrappers.CommonsConfigWrapper
 
getFailMessage() - Method in class io.github.ttno1.configvalidation.ConfigValidationResult
 
getFloat(String) - Method in interface io.github.ttno1.configvalidation.ConfigWrapper
 
getFloat(String) - Method in class io.github.ttno1.configvalidation.defaultwrappers.AbstractConfigWrapper
 
getFloat(String) - Method in class io.github.ttno1.configvalidation.defaultwrappers.CommonsConfigWrapper
 
getInteger(String) - Method in interface io.github.ttno1.configvalidation.ConfigWrapper
 
getInteger(String) - Method in class io.github.ttno1.configvalidation.defaultwrappers.AbstractConfigWrapper
 
getInteger(String) - Method in class io.github.ttno1.configvalidation.defaultwrappers.CommonsConfigWrapper
 
getList(String, BaseType, Class<T>) - Method in interface io.github.ttno1.configvalidation.ConfigWrapper
 
getList(String, BaseType, Class<T>) - Method in class io.github.ttno1.configvalidation.defaultwrappers.AbstractConfigWrapper
 
getList(String, BaseType, Class<T>) - Method in class io.github.ttno1.configvalidation.defaultwrappers.CommonsConfigWrapper
 
getList(String, BaseType, Class<T>) - Method in class io.github.ttno1.configvalidation.defaultwrappers.MapConfigWrapper
 
getLong(String) - Method in interface io.github.ttno1.configvalidation.ConfigWrapper
 
getLong(String) - Method in class io.github.ttno1.configvalidation.defaultwrappers.AbstractConfigWrapper
 
getLong(String) - Method in class io.github.ttno1.configvalidation.defaultwrappers.CommonsConfigWrapper
 
getShort(String) - Method in interface io.github.ttno1.configvalidation.ConfigWrapper
 
getShort(String) - Method in class io.github.ttno1.configvalidation.defaultwrappers.AbstractConfigWrapper
 
getShort(String) - Method in class io.github.ttno1.configvalidation.defaultwrappers.CommonsConfigWrapper
 
getString(String) - Method in interface io.github.ttno1.configvalidation.ConfigWrapper
 
getString(String) - Method in class io.github.ttno1.configvalidation.defaultwrappers.AbstractConfigWrapper
 
getString(String) - Method in class io.github.ttno1.configvalidation.defaultwrappers.CommonsConfigWrapper
 

H

handle(Consumer<ConfigValidationResult>) - Method in class io.github.ttno1.configvalidation.ConfigValidationResult
Convenience method that runs the provided consumer with this as the argument.
Allows for easy handling of this ConfigValidationResult through method chaining.
handleChecked(CheckedConsumer<ConfigValidationResult, E>) - Method in class io.github.ttno1.configvalidation.ConfigValidationResult
Convenience method that runs the provided checked consumer with this as the argument.
Allows for easy handling of this ConfigValidationResult through method chaining.

I

INTEGER - Enum constant in enum class io.github.ttno1.configvalidation.BaseType
 
io.github.ttno1.configvalidation - package io.github.ttno1.configvalidation
 
io.github.ttno1.configvalidation.defaultwrappers - package io.github.ttno1.configvalidation.defaultwrappers
 
isBoolean(String) - Method in interface io.github.ttno1.configvalidation.ConfigWrapper
 
isBoolean(String) - Method in class io.github.ttno1.configvalidation.defaultwrappers.AbstractConfigWrapper
 
isBoolean(String) - Method in class io.github.ttno1.configvalidation.defaultwrappers.CommonsConfigWrapper
 
isByte(String) - Method in interface io.github.ttno1.configvalidation.ConfigWrapper
 
isByte(String) - Method in class io.github.ttno1.configvalidation.defaultwrappers.AbstractConfigWrapper
 
isByte(String) - Method in class io.github.ttno1.configvalidation.defaultwrappers.CommonsConfigWrapper
 
isConfigSubsection(String) - Method in interface io.github.ttno1.configvalidation.ConfigWrapper
 
isConfigSubsection(String) - Method in class io.github.ttno1.configvalidation.defaultwrappers.AbstractConfigWrapper
 
isConfigSubsection(String) - Method in class io.github.ttno1.configvalidation.defaultwrappers.CommonsConfigWrapper
 
isConfigSubsection(String) - Method in class io.github.ttno1.configvalidation.defaultwrappers.MapConfigWrapper
 
isDouble(String) - Method in interface io.github.ttno1.configvalidation.ConfigWrapper
 
isDouble(String) - Method in class io.github.ttno1.configvalidation.defaultwrappers.AbstractConfigWrapper
 
isDouble(String) - Method in class io.github.ttno1.configvalidation.defaultwrappers.CommonsConfigWrapper
 
isFloat(String) - Method in interface io.github.ttno1.configvalidation.ConfigWrapper
 
isFloat(String) - Method in class io.github.ttno1.configvalidation.defaultwrappers.AbstractConfigWrapper
 
isFloat(String) - Method in class io.github.ttno1.configvalidation.defaultwrappers.CommonsConfigWrapper
 
isInteger(String) - Method in interface io.github.ttno1.configvalidation.ConfigWrapper
 
isInteger(String) - Method in class io.github.ttno1.configvalidation.defaultwrappers.AbstractConfigWrapper
 
isInteger(String) - Method in class io.github.ttno1.configvalidation.defaultwrappers.CommonsConfigWrapper
 
isList(String, BaseType, Class<T>) - Method in interface io.github.ttno1.configvalidation.ConfigWrapper
 
isList(String, BaseType, Class<T>) - Method in class io.github.ttno1.configvalidation.defaultwrappers.AbstractConfigWrapper
 
isList(String, BaseType, Class<T>) - Method in class io.github.ttno1.configvalidation.defaultwrappers.CommonsConfigWrapper
 
isList(String, BaseType, Class<T>) - Method in class io.github.ttno1.configvalidation.defaultwrappers.MapConfigWrapper
 
isLong(String) - Method in interface io.github.ttno1.configvalidation.ConfigWrapper
 
isLong(String) - Method in class io.github.ttno1.configvalidation.defaultwrappers.AbstractConfigWrapper
 
isLong(String) - Method in class io.github.ttno1.configvalidation.defaultwrappers.CommonsConfigWrapper
 
isShort(String) - Method in interface io.github.ttno1.configvalidation.ConfigWrapper
 
isShort(String) - Method in class io.github.ttno1.configvalidation.defaultwrappers.AbstractConfigWrapper
 
isShort(String) - Method in class io.github.ttno1.configvalidation.defaultwrappers.CommonsConfigWrapper
 
isString(String) - Method in interface io.github.ttno1.configvalidation.ConfigWrapper
 
isString(String) - Method in class io.github.ttno1.configvalidation.defaultwrappers.AbstractConfigWrapper
 
isString(String) - Method in class io.github.ttno1.configvalidation.defaultwrappers.CommonsConfigWrapper
 

L

LIST - Enum constant in enum class io.github.ttno1.configvalidation.BaseType
 
LONG - Enum constant in enum class io.github.ttno1.configvalidation.BaseType
 

M

MapConfigWrapper - Class in io.github.ttno1.configvalidation.defaultwrappers
A ConfigWrapper that gets its values from a map of strings to objects.
This class assumes that all config subsections are contained within the main map as sub-maps.
MapConfigWrapper(Map<String, Object>, String) - Constructor for class io.github.ttno1.configvalidation.defaultwrappers.MapConfigWrapper
 

N

newSpec() - Static method in class io.github.ttno1.configvalidation.Cfg
 
newSpec(ConfigFilter<ConfigWrapper, W>) - Static method in class io.github.ttno1.configvalidation.Cfg
 
NONEXISTENT - Enum constant in enum class io.github.ttno1.configvalidation.ConfigFilters.FileState
A file or directory that does not exist.
nullFilter() - Static method in interface io.github.ttno1.configvalidation.ConfigFilter
A "null" filter that does nothing.

O

ofBoolean() - Static method in class io.github.ttno1.configvalidation.Cfg.List
Creates a ConfigList for a list of boolean values with no filters (the filters always pass).
ofBoolean() - Static method in class io.github.ttno1.configvalidation.Cfg.Node
Creates a ConfigNode for a boolean value with no filter (the filter always passes).
ofBoolean(ConfigFilter<Boolean, W>) - Static method in class io.github.ttno1.configvalidation.Cfg.Node
Creates a ConfigNode for a boolean value with the specified filter.
ofBoolean(ConfigFilter<List<X>, W>, ConfigFilter<Boolean, X>) - Static method in class io.github.ttno1.configvalidation.Cfg.List
Creates a ConfigList for a list of boolean values with the specified filter and element filter.
ofByte() - Static method in class io.github.ttno1.configvalidation.Cfg.List
Creates a ConfigList for a list of byte values with no filters (the filters always pass).
ofByte() - Static method in class io.github.ttno1.configvalidation.Cfg.Node
Creates a ConfigNode for a byte value with no filter (the filter always passes).
ofByte(ConfigFilter<Byte, W>) - Static method in class io.github.ttno1.configvalidation.Cfg.Node
Creates a ConfigNode for a byte value with the specified filter.
ofByte(ConfigFilter<List<X>, W>, ConfigFilter<Byte, X>) - Static method in class io.github.ttno1.configvalidation.Cfg.List
Creates a ConfigList for a list of byte values with the specified filter and element filter.
ofConfigSpec() - Static method in class io.github.ttno1.configvalidation.Cfg.List
Creates a ConfigList for a list of config subsection values with no filters (the filters always pass).
ofConfigSpec(ConfigFilter<List<X>, W>, ConfigSpec<X>) - Static method in class io.github.ttno1.configvalidation.Cfg.List
Creates a ConfigList for a list of config subsection values with the specified filter and with the specified ConfigSpec that is validated against every element.
ofDouble() - Static method in class io.github.ttno1.configvalidation.Cfg.List
Creates a ConfigList for a list of double values with no filters (the filters always pass).
ofDouble() - Static method in class io.github.ttno1.configvalidation.Cfg.Node
Creates a ConfigNode for a double value with no filter (the filter always passes).
ofDouble(ConfigFilter<Double, W>) - Static method in class io.github.ttno1.configvalidation.Cfg.Node
Creates a ConfigNode for a double value with the specified filter.
ofDouble(ConfigFilter<List<X>, W>, ConfigFilter<Double, X>) - Static method in class io.github.ttno1.configvalidation.Cfg.List
Creates a ConfigList for a list of double values with the specified filter and element filter.
ofFloat() - Static method in class io.github.ttno1.configvalidation.Cfg.List
Creates a ConfigList for a list of float values with no filters (the filters always pass).
ofFloat() - Static method in class io.github.ttno1.configvalidation.Cfg.Node
Creates a ConfigNode for a float value with no filter (the filter always passes).
ofFloat(ConfigFilter<Float, W>) - Static method in class io.github.ttno1.configvalidation.Cfg.Node
Creates a ConfigNode for a float value with the specified filter.
ofFloat(ConfigFilter<List<X>, W>, ConfigFilter<Float, X>) - Static method in class io.github.ttno1.configvalidation.Cfg.List
Creates a ConfigList for a list of float values with the specified filter and element filter.
ofInteger() - Static method in class io.github.ttno1.configvalidation.Cfg.List
Creates a ConfigList for a list of integer values with no filters (the filters always pass).
ofInteger() - Static method in class io.github.ttno1.configvalidation.Cfg.Node
Creates a ConfigNode for a integer value with no filter (the filter always passes).
ofInteger(ConfigFilter<Integer, W>) - Static method in class io.github.ttno1.configvalidation.Cfg.Node
Creates a ConfigNode for a integer value with the specified filter.
ofInteger(ConfigFilter<List<X>, W>, ConfigFilter<Integer, X>) - Static method in class io.github.ttno1.configvalidation.Cfg.List
Creates a ConfigList for a list of integer values with the specified filter and element filter.
ofList() - Static method in class io.github.ttno1.configvalidation.Cfg.List
Creates a ConfigList for a list of list values with no filters (the filters always pass).
ofList(ConfigFilter<List<W>, X>, ConfigFilter<List<Object>, W>) - Static method in class io.github.ttno1.configvalidation.Cfg.List
Creates a ConfigList for a list of list values with the specified filter and element filter.
ofLong() - Static method in class io.github.ttno1.configvalidation.Cfg.List
Creates a ConfigList for a list of long values with no filters (the filters always pass).
ofLong() - Static method in class io.github.ttno1.configvalidation.Cfg.Node
Creates a ConfigNode for a long value with no filter (the filter always passes).
ofLong(ConfigFilter<Long, W>) - Static method in class io.github.ttno1.configvalidation.Cfg.Node
Creates a ConfigNode for a long value with the specified filter.
ofLong(ConfigFilter<List<X>, W>, ConfigFilter<Long, X>) - Static method in class io.github.ttno1.configvalidation.Cfg.List
Creates a ConfigList for a list of long values with the specified filter and element filter.
ofShort() - Static method in class io.github.ttno1.configvalidation.Cfg.List
Creates a ConfigList for a list of short values with no filters (the filters always pass).
ofShort() - Static method in class io.github.ttno1.configvalidation.Cfg.Node
Creates a ConfigNode for a short value with no filter (the filter always passes).
ofShort(ConfigFilter<Short, W>) - Static method in class io.github.ttno1.configvalidation.Cfg.Node
Creates a ConfigNode for a short value with the specified filter.
ofShort(ConfigFilter<List<X>, W>, ConfigFilter<Short, X>) - Static method in class io.github.ttno1.configvalidation.Cfg.List
Creates a ConfigList for a list of short values with the specified filter and element filter.
ofString() - Static method in class io.github.ttno1.configvalidation.Cfg.List
Creates a ConfigList for a list of string values with no filters (the filters always pass).
ofString() - Static method in class io.github.ttno1.configvalidation.Cfg.Node
Creates a ConfigNode for a string value with no filter (the filter always passes).
ofString(ConfigFilter<String, W>) - Static method in class io.github.ttno1.configvalidation.Cfg.Node
Creates a ConfigNode for a string value with the specified filter.
ofString(ConfigFilter<List<X>, W>, ConfigFilter<String, X>) - Static method in class io.github.ttno1.configvalidation.Cfg.List
Creates a ConfigList for a list of string values with the specified filter and element filter.

P

pass(U) - Static method in class io.github.ttno1.configvalidation.ConfigFilterResult
Creates a new ConfigFilterResult that passed with the specified output.
passed() - Method in class io.github.ttno1.configvalidation.ConfigValidationResult
 
PATH - Enum constant in enum class io.github.ttno1.configvalidation.ConfigFilters.FileState
A valid path to a file or directory that may or may not exist.

R

run(Consumer<X>) - Static method in interface io.github.ttno1.configvalidation.ConfigFilter
Returns a ConfigFilter that runs the provided Consumer and passes.

S

SHORT - Enum constant in enum class io.github.ttno1.configvalidation.BaseType
 
SnakeYamlConfigWrapper - Class in io.github.ttno1.configvalidation.defaultwrappers
A ConfigWrapper that wraps a map produced from any of the Yaml load() methods.
This class is identical to MapConfigWrapper.
SnakeYamlConfigWrapper(Map<String, Object>) - Constructor for class io.github.ttno1.configvalidation.defaultwrappers.SnakeYamlConfigWrapper
 
STRING - Enum constant in enum class io.github.ttno1.configvalidation.BaseType
 

T

thenRun(Consumer<U>) - Method in interface io.github.ttno1.configvalidation.ConfigFilter
Runs a Consumer with the output of this filter.
Useful for retrieving the value of a filter.
thenRun(Consumer<U>) - Method in class io.github.ttno1.configvalidation.ConfigNode
Convenience method that returns a new ConfigNode with the provided consumer appended onto the current filter akin to ConfigFilter.thenRun(Consumer).

V

validate(ConfigWrapper) - Method in class io.github.ttno1.configvalidation.ConfigSpec
Convenience method that calls ConfigNode.validate(ConfigWrapper, String) with an empty string as the path argument.
Useful when this ConfigSpec is at the root of the config.
validate(ConfigWrapper, String) - Method in class io.github.ttno1.configvalidation.ConfigList
 
validate(ConfigWrapper, String) - Method in class io.github.ttno1.configvalidation.ConfigNode
Validates this node against the supplied ConfigWrapper at the specified path.
Checks for existence of the node, valid data type, and filter passage.
validEnum(Class<T>) - Static method in class io.github.ttno1.configvalidation.ConfigFilters
Returns a filter that attempts to convert the input string into a value of the provided enum type and fails if the input string is not a valid enum type.
The filter will call String.toUpperCase() on the input string and replace all spaces (U+0020) with underscores before attempting to call Enum.valueOf(Class, String).
validPath(ConfigFilters.FileState) - Static method in class io.github.ttno1.configvalidation.ConfigFilters
Returns a filter that verifies that the input string is a valid file path, and optionally that the file meets the conditions specified by the provided ConfigFilters.FileState, and that converts the string to a Path.
validURL(String...) - Static method in class io.github.ttno1.configvalidation.ConfigFilters
Returns a filter that first verifies that the input string is a valid URL using Apache Commons Validator UrlValidator.isValid(String) with the provided schemes, and then attempts to convert the string into a URL with URL(String).
valueOf(String) - Static method in enum class io.github.ttno1.configvalidation.BaseType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class io.github.ttno1.configvalidation.ConfigFilters.FileState
Returns the enum constant of this class with the specified name.
values() - Static method in enum class io.github.ttno1.configvalidation.BaseType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class io.github.ttno1.configvalidation.ConfigFilters.FileState
Returns an array containing the constants of this enum class, in the order they are declared.

W

withFilter(ConfigFilter<U, V>) - Method in interface io.github.ttno1.configvalidation.ConfigFilter
Returns a filter that takes in the input of this and returns the output of the supplied filter.
Useful for chaining multiple filters together into one filter.
withFilter(ConfigFilter<U, V>) - Method in class io.github.ttno1.configvalidation.ConfigNode
Convenience method that returns a new ConfigNode with the provided filter appended onto the current filter using ConfigFilter.withFilter(ConfigFilter).
A B C D E F G H I L M N O P R S T V W 
All Classes and Interfaces|All Packages