Index

A B C D E F G K L M N P R S V W 
All Classes|All Packages

A

addFile(File) - Method in interface se.l4.commons.config.ConfigBuilder
Add a file that should be loaded.
addFile(File) - Method in class se.l4.commons.config.internal.ConfigBuilderImpl
 
addFile(String) - Method in interface se.l4.commons.config.ConfigBuilder
Add a file that should be loaded.
addFile(String) - Method in class se.l4.commons.config.internal.ConfigBuilderImpl
 
addFile(Path) - Method in interface se.l4.commons.config.ConfigBuilder
Add a file that should be loaded.
addFile(Path) - Method in class se.l4.commons.config.internal.ConfigBuilderImpl
 
addStream(InputStream) - Method in interface se.l4.commons.config.ConfigBuilder
Add a stream that should be read.
addStream(InputStream) - Method in class se.l4.commons.config.internal.ConfigBuilderImpl
 
asObject(Class<T>) - Method in class se.l4.commons.config.ConfigKey
Get this object as another type.
asObject(String, Class<T>) - Method in interface se.l4.commons.config.Config
Resolve values as the given path as an object.
asObject(String, Class<T>) - Method in class se.l4.commons.config.ConfigKey
Get the value of a sub path to this key.
asObject(String, Class<T>) - Method in class se.l4.commons.config.internal.DefaultConfig
 

B

build() - Method in interface se.l4.commons.config.ConfigBuilder
Create the configuration object.
build() - Method in class se.l4.commons.config.internal.ConfigBuilderImpl
 
builder() - Static method in interface se.l4.commons.config.Config
Get a new ConfigBuilder to create a new configuration.

C

close() - Method in class se.l4.commons.config.internal.streaming.ConfigJsonInput
 
close() - Method in class se.l4.commons.config.internal.streaming.ListInput
 
close() - Method in class se.l4.commons.config.internal.streaming.MapInput
 
close() - Method in class se.l4.commons.config.internal.streaming.NullInput
 
close() - Method in class se.l4.commons.config.internal.streaming.ValueInput
 
Config - Interface in se.l4.commons.config
Configuration as loaded from config files.
ConfigBuilder - Interface in se.l4.commons.config
Builder for instances of Config.
ConfigBuilderImpl - Class in se.l4.commons.config.internal
Builder for configuration instances.
ConfigBuilderImpl() - Constructor for class se.l4.commons.config.internal.ConfigBuilderImpl
 
ConfigException - Exception in se.l4.commons.config
Exception thrown when something is wrong with the configuration.
ConfigException() - Constructor for exception se.l4.commons.config.ConfigException
 
ConfigException(String) - Constructor for exception se.l4.commons.config.ConfigException
 
ConfigException(String, Throwable) - Constructor for exception se.l4.commons.config.ConfigException
 
ConfigException(Throwable) - Constructor for exception se.l4.commons.config.ConfigException
 
ConfigJsonInput - Class in se.l4.commons.config.internal.streaming
Input for JSON.
ConfigJsonInput(Reader) - Constructor for class se.l4.commons.config.internal.streaming.ConfigJsonInput
 
ConfigKey - Class in se.l4.commons.config
A configuration key, represents the path of the config object that has been deserialized.
ConfigKey.ConfigKeySerializer - Class in se.l4.commons.config
 
ConfigKeySerializer(Config) - Constructor for class se.l4.commons.config.ConfigKey.ConfigKeySerializer
 
ConfigResolver - Class in se.l4.commons.config.internal
Resolver for embedded references to other parts of the configuration.
current() - Method in class se.l4.commons.config.internal.streaming.ConfigJsonInput
 
current() - Method in class se.l4.commons.config.internal.streaming.ListInput
 
current() - Method in class se.l4.commons.config.internal.streaming.MapInput
 
current() - Method in class se.l4.commons.config.internal.streaming.NullInput
 
current() - Method in class se.l4.commons.config.internal.streaming.ValueInput
 

D

DefaultConfig - Class in se.l4.commons.config.internal
Default implementation of Config.
DefaultConfig(SerializerCollection, ValidatorFactory, File, Map<String, Object>) - Constructor for class se.l4.commons.config.internal.DefaultConfig
 

E

exists() - Method in interface se.l4.commons.config.Value
Get if this value exists.

F

FileSerializer - Class in se.l4.commons.config.internal
Serializer for File.
FileSerializer(File) - Constructor for class se.l4.commons.config.internal.FileSerializer
 

G

get() - Method in interface se.l4.commons.config.Value
Get the current value.
get(String, Class<T>) - Method in interface se.l4.commons.config.Config
Resolve configuration values as an object.
get(String, Class<T>) - Method in class se.l4.commons.config.ConfigKey
Get the value of a sub path to this key.
get(String, Class<T>) - Method in class se.l4.commons.config.internal.DefaultConfig
 
getBoolean() - Method in class se.l4.commons.config.internal.streaming.ConfigJsonInput
 
getBoolean() - Method in class se.l4.commons.config.internal.streaming.ListInput
 
getBoolean() - Method in class se.l4.commons.config.internal.streaming.MapInput
 
getBoolean() - Method in class se.l4.commons.config.internal.streaming.NullInput
 
getBoolean() - Method in class se.l4.commons.config.internal.streaming.ValueInput
 
getByteArray() - Method in class se.l4.commons.config.internal.streaming.ConfigJsonInput
 
getByteArray() - Method in class se.l4.commons.config.internal.streaming.NullInput
 
getByteArray() - Method in class se.l4.commons.config.internal.streaming.ValueInput
 
getDouble() - Method in class se.l4.commons.config.internal.streaming.ConfigJsonInput
 
getDouble() - Method in class se.l4.commons.config.internal.streaming.ListInput
 
getDouble() - Method in class se.l4.commons.config.internal.streaming.MapInput
 
getDouble() - Method in class se.l4.commons.config.internal.streaming.NullInput
 
getDouble() - Method in class se.l4.commons.config.internal.streaming.ValueInput
 
getFloat() - Method in class se.l4.commons.config.internal.streaming.ConfigJsonInput
 
getFloat() - Method in class se.l4.commons.config.internal.streaming.ListInput
 
getFloat() - Method in class se.l4.commons.config.internal.streaming.MapInput
 
getFloat() - Method in class se.l4.commons.config.internal.streaming.NullInput
 
getFloat() - Method in class se.l4.commons.config.internal.streaming.ValueInput
 
getFormatDefinition() - Method in class se.l4.commons.config.ConfigKey.ConfigKeySerializer
 
getFormatDefinition() - Method in class se.l4.commons.config.internal.FileSerializer
 
getInt() - Method in class se.l4.commons.config.internal.streaming.ConfigJsonInput
 
getInt() - Method in class se.l4.commons.config.internal.streaming.ListInput
 
getInt() - Method in class se.l4.commons.config.internal.streaming.MapInput
 
getInt() - Method in class se.l4.commons.config.internal.streaming.NullInput
 
getInt() - Method in class se.l4.commons.config.internal.streaming.ValueInput
 
getLong() - Method in class se.l4.commons.config.internal.streaming.ConfigJsonInput
 
getLong() - Method in class se.l4.commons.config.internal.streaming.ListInput
 
getLong() - Method in class se.l4.commons.config.internal.streaming.MapInput
 
getLong() - Method in class se.l4.commons.config.internal.streaming.NullInput
 
getLong() - Method in class se.l4.commons.config.internal.streaming.ValueInput
 
getOrDefault(T) - Method in interface se.l4.commons.config.Value
Get the current value or return a default value if it is not set.
getShort() - Method in class se.l4.commons.config.internal.streaming.ConfigJsonInput
 
getShort() - Method in class se.l4.commons.config.internal.streaming.ListInput
 
getShort() - Method in class se.l4.commons.config.internal.streaming.MapInput
 
getShort() - Method in class se.l4.commons.config.internal.streaming.NullInput
 
getShort() - Method in class se.l4.commons.config.internal.streaming.ValueInput
 
getString() - Method in class se.l4.commons.config.internal.streaming.ConfigJsonInput
 
getString() - Method in class se.l4.commons.config.internal.streaming.ListInput
 
getString() - Method in class se.l4.commons.config.internal.streaming.MapInput
 
getString() - Method in class se.l4.commons.config.internal.streaming.NullInput
 
getString() - Method in class se.l4.commons.config.internal.streaming.ValueInput
 
getValue() - Method in class se.l4.commons.config.internal.streaming.ConfigJsonInput
 
getValue() - Method in class se.l4.commons.config.internal.streaming.ListInput
 
getValue() - Method in class se.l4.commons.config.internal.streaming.MapInput
 
getValue() - Method in class se.l4.commons.config.internal.streaming.NullInput
 
getValue() - Method in class se.l4.commons.config.internal.streaming.ValueInput
 

K

keys(String) - Method in interface se.l4.commons.config.Config
Get the direct subkeys of the given path.
keys(String) - Method in class se.l4.commons.config.internal.DefaultConfig
 

L

ListInput - Class in se.l4.commons.config.internal.streaming
Input that works on lists.
ListInput(String, List<Object>) - Constructor for class se.l4.commons.config.internal.streaming.ListInput
 

M

MapInput - Class in se.l4.commons.config.internal.streaming
Implementation of StreamingInput that works on a objects.
MapInput(String, Map<String, Object>) - Constructor for class se.l4.commons.config.internal.streaming.MapInput
 

N

NAME - Static variable in class se.l4.commons.config.ConfigKey
 
next() - Method in class se.l4.commons.config.internal.streaming.ConfigJsonInput
 
next() - Method in class se.l4.commons.config.internal.streaming.NullInput
 
next() - Method in class se.l4.commons.config.internal.streaming.ValueInput
 
next(Token) - Method in class se.l4.commons.config.internal.streaming.ConfigJsonInput
 
next(Token) - Method in class se.l4.commons.config.internal.streaming.NullInput
 
next(Token) - Method in class se.l4.commons.config.internal.streaming.ValueInput
 
next0() - Method in class se.l4.commons.config.internal.streaming.ListInput
 
next0() - Method in class se.l4.commons.config.internal.streaming.MapInput
 
NullInput - Class in se.l4.commons.config.internal.streaming
 
NullInput(String) - Constructor for class se.l4.commons.config.internal.streaming.NullInput
 

P

peek() - Method in class se.l4.commons.config.internal.streaming.ConfigJsonInput
 
peek() - Method in class se.l4.commons.config.internal.streaming.ListInput
 
peek() - Method in class se.l4.commons.config.internal.streaming.MapInput
 
peek() - Method in class se.l4.commons.config.internal.streaming.NullInput
 
peek() - Method in class se.l4.commons.config.internal.streaming.ValueInput
 

R

raiseException(String) - Method in class se.l4.commons.config.internal.streaming.ListInput
 
raiseException(String) - Method in class se.l4.commons.config.internal.streaming.MapInput
 
RawFormatReader - Class in se.l4.commons.config.internal
Reader of configuration values.
read(InputStream) - Static method in class se.l4.commons.config.internal.RawFormatReader
Convert the given stream to a map.
read(StreamingInput) - Method in class se.l4.commons.config.ConfigKey.ConfigKeySerializer
 
read(StreamingInput) - Method in class se.l4.commons.config.internal.FileSerializer
 
read(StreamingInput) - Static method in class se.l4.commons.config.internal.RawFormatReader
Convert the given stream to a map.
resolve(Map<String, Object>) - Static method in class se.l4.commons.config.internal.ConfigResolver
Resolve the specified map and return the resolved map.
resolveInput(String, Object) - Static method in class se.l4.commons.config.internal.streaming.MapInput
 
resolveTo(Map<String, Object>, Map<String, Object>) - Static method in class se.l4.commons.config.internal.ConfigResolver
Resolve the specified map and store it in the specified target.

S

se.l4.commons.config - package se.l4.commons.config
 
se.l4.commons.config.internal - package se.l4.commons.config.internal
 
se.l4.commons.config.internal.streaming - package se.l4.commons.config.internal.streaming
 
skip() - Method in class se.l4.commons.config.internal.streaming.ConfigJsonInput
 
skip() - Method in class se.l4.commons.config.internal.streaming.NullInput
 
skip() - Method in class se.l4.commons.config.internal.streaming.ValueInput
 
skipValue() - Method in class se.l4.commons.config.internal.streaming.ConfigJsonInput
 
skipValue() - Method in class se.l4.commons.config.internal.streaming.NullInput
 
skipValue() - Method in class se.l4.commons.config.internal.streaming.ValueInput
 

V

Value<T> - Interface in se.l4.commons.config
Value within a configuration.
valueChanged(String, T, T) - Method in interface se.l4.commons.config.ValueListener
 
ValueInput - Class in se.l4.commons.config.internal.streaming
 
ValueInput(String, Object) - Constructor for class se.l4.commons.config.internal.streaming.ValueInput
 
ValueListener<T> - Interface in se.l4.commons.config
 

W

with(String, Object) - Method in interface se.l4.commons.config.ConfigBuilder
Add a key to the current configuration.
with(String, Object) - Method in class se.l4.commons.config.internal.ConfigBuilderImpl
 
withRoot(File) - Method in interface se.l4.commons.config.ConfigBuilder
Set the root folder of the configuration.
withRoot(File) - Method in class se.l4.commons.config.internal.ConfigBuilderImpl
 
withRoot(String) - Method in interface se.l4.commons.config.ConfigBuilder
Set the root folder of the configuration.
withRoot(String) - Method in class se.l4.commons.config.internal.ConfigBuilderImpl
 
withRoot(Path) - Method in interface se.l4.commons.config.ConfigBuilder
Set the root folder of the configuration.
withRoot(Path) - Method in class se.l4.commons.config.internal.ConfigBuilderImpl
 
withSerializerCollection(SerializerCollection) - Method in interface se.l4.commons.config.ConfigBuilder
Set the the SerializerCollection to use when reading the configuration files.
withSerializerCollection(SerializerCollection) - Method in class se.l4.commons.config.internal.ConfigBuilderImpl
 
withValidatorFactory(ValidatorFactory) - Method in interface se.l4.commons.config.ConfigBuilder
Set the ValidatorFactory to use when validating loaded configuration objects.
withValidatorFactory(ValidatorFactory) - Method in class se.l4.commons.config.internal.ConfigBuilderImpl
 
write(File, String, StreamingOutput) - Method in class se.l4.commons.config.internal.FileSerializer
 
write(ConfigKey, String, StreamingOutput) - Method in class se.l4.commons.config.ConfigKey.ConfigKeySerializer
 
A B C D E F G K L M N P R S V W 
All Classes|All Packages