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

A

AbstractConfigBuilder<T extends TcConfig> - Class in xyz.tozymc.configuration.builder
Builder class to create a new configuration.
AbstractConfigBuilder() - Constructor for class xyz.tozymc.configuration.builder.AbstractConfigBuilder
Constructs new configuration builder.
AbstractFileConfigBuilder<T extends FileConfig> - Class in xyz.tozymc.configuration.file.builder
Builder class to create a new file configuration.
AbstractFileConfigBuilder(Path) - Constructor for class xyz.tozymc.configuration.file.builder.AbstractFileConfigBuilder
Constructs new file configuration builder with config Path.
AUTOMATICALLY - xyz.tozymc.configuration.file.option.ReloadableType
The configuration will automatically reload the config file when getting or setting config value.
AutoSerialization - Annotation Type in xyz.tozymc.configuration.serialization.annotation
Annotates a class that is auto-serializable.

B

buildConfig() - Method in class xyz.tozymc.configuration.file.builder.AbstractFileConfigBuilder
 

C

clearCache() - Static method in class xyz.tozymc.configuration.serialization.TcConfigSerializations
Clears the reflection cache.
compute(String, Class<T>, BiFunction<String, ? super T, ? extends T>) - Method in interface xyz.tozymc.configuration.DataStorage
Attempts to compute a mapping for the given path and its current mapped value (or null if there is no current mapping).
computeIfAbsent(String, Class<T>, Function<String, ? extends T>) - Method in interface xyz.tozymc.configuration.DataStorage
Gets the value if existed, else this method attempts to compute its value using the given mapping function and enters it into this storage unless null.
computeIfPresent(String, Class<T>, BiFunction<String, ? super T, ? extends T>) - Method in interface xyz.tozymc.configuration.DataStorage
Attempts to compute a new mapping given the key and its current mapped value, if the value for the given path is present.
config() - Method in class xyz.tozymc.configuration.file.option.FileConfigOptions
 
config() - Method in class xyz.tozymc.configuration.option.TcConfigOptions
Returns the TcConfig that owned this options.
configPath() - Method in class xyz.tozymc.configuration.file.builder.AbstractFileConfigBuilder
Gets the configuration file.
contains(String) - Method in interface xyz.tozymc.configuration.DataStorage
Checks if this storage contains this value path.
contains(String, Class<T>) - Method in interface xyz.tozymc.configuration.DataStorage
Checks if this storage contains this path and the value is instance of the type.
createChild(String) - Method in class xyz.tozymc.configuration.file.FileConfigSection
 
createChild(String) - Method in class xyz.tozymc.configuration.memory.MemoryConfigSection
 
createChild(String) - Method in interface xyz.tozymc.configuration.TcConfigSection
Creates and returns the child section with specified path.
createChild(String, Map<String, ?>) - Method in class xyz.tozymc.configuration.file.FileConfigSection
 
createChild(String, Map<String, ?>) - Method in class xyz.tozymc.configuration.memory.MemoryConfigSection
 
createChild(String, Map<String, ?>) - Method in interface xyz.tozymc.configuration.TcConfigSection
Creates the child section by specified path with given values and returns it.
createConfig() - Method in class xyz.tozymc.configuration.builder.AbstractConfigBuilder
Creates new configuration with specified parameters.
createConfig() - Method in class xyz.tozymc.configuration.file.builder.AbstractFileConfigBuilder
 
createPath(TcConfigSection, TcConfigSection, String) - Static method in class xyz.tozymc.configuration.util.SectionPaths
 
createPath(TcConfigSection, String) - Static method in class xyz.tozymc.configuration.util.SectionPaths
 

D

DataStorage - Interface in xyz.tozymc.configuration
Represents configuration section data storage.
DEFAULT_PATH_SEPARATOR - Static variable in class xyz.tozymc.configuration.option.TcConfigOptions
Defaults path separator use in configuration.
defaultResource(ClassLoader, String) - Method in class xyz.tozymc.configuration.file.builder.AbstractFileConfigBuilder
Sets the default config input stream by class resource.
defaultStream() - Method in class xyz.tozymc.configuration.file.builder.AbstractFileConfigBuilder
Gets the default config input stream.
defaultStream(InputStream) - Method in class xyz.tozymc.configuration.file.builder.AbstractFileConfigBuilder
Sets the default config input stream.
deserialize(Map<String, ?>) - Method in interface xyz.tozymc.configuration.serialization.TcConfigSerializer
Creates an object form represented Map.
deserializeObject(Class<T>, Map<String, ?>) - Static method in class xyz.tozymc.configuration.serialization.TcConfigSerializations
Creates new object from represented map.

F

FileConfig - Class in xyz.tozymc.configuration.file
Type of TcConfigSection that is store and handle with file.
FileConfig(Path) - Constructor for class xyz.tozymc.configuration.file.FileConfig
Constructs new FileConfigSection with configuration file.
FileConfigOptions - Class in xyz.tozymc.configuration.file.option
Various options for FileConfig.
FileConfigOptions(FileConfig) - Constructor for class xyz.tozymc.configuration.file.option.FileConfigOptions
Creates new FileConfigOptions for FileConfig.
FileConfigSection - Class in xyz.tozymc.configuration.file
Type of TcConfigSection that is store and handle with file.
FileConfigSection() - Constructor for class xyz.tozymc.configuration.file.FileConfigSection
 
FileConfigSection(TcConfigSection, String) - Constructor for class xyz.tozymc.configuration.file.FileConfigSection
 
find(String) - Method in interface xyz.tozymc.configuration.DataStorage
Finds the object with given path.
find(String, Class<T>) - Method in interface xyz.tozymc.configuration.DataStorage
Finds the object with given path.

G

get(String) - Method in interface xyz.tozymc.configuration.DataStorage
Gets the object with given path.
get(String) - Method in class xyz.tozymc.configuration.memory.MemoryConfigSection
 
get(String, Class<T>) - Method in interface xyz.tozymc.configuration.DataStorage
Gets the value with given path.
get(String, Class<T>) - Method in class xyz.tozymc.configuration.memory.MemoryConfigSection
 
getBoolean(String) - Method in interface xyz.tozymc.configuration.DataStorage
Gets the boolean value with given path, returns false when value wasn't existed.
getChild(String) - Method in class xyz.tozymc.configuration.memory.MemoryConfigSection
 
getChild(String) - Method in interface xyz.tozymc.configuration.TcConfigSection
Gets the child section with specified path.
getDouble(String) - Method in interface xyz.tozymc.configuration.DataStorage
Gets the double value with given path, returns 0D when value wasn't existed.
getDoubleList(String) - Method in interface xyz.tozymc.configuration.DataStorage
Gets the List&#60;Double> value with given path.
getFullPath() - Method in class xyz.tozymc.configuration.memory.MemoryConfigSection
 
getFullPath() - Method in interface xyz.tozymc.configuration.TcConfigSection
Gets the path of this section.
getInt(String) - Method in interface xyz.tozymc.configuration.DataStorage
Gets the int value with given path, returns 0 when value wasn't existed.
getIntegerList(String) - Method in interface xyz.tozymc.configuration.DataStorage
Gets the List&#60;Integer> value with given path.
getKeys() - Method in interface xyz.tozymc.configuration.DataStorage
Gets the shallow set of key that contains in this storage.
getKeys(boolean) - Method in interface xyz.tozymc.configuration.DataStorage
Gets the set of key that contains in this storage.
getKeys(boolean) - Method in class xyz.tozymc.configuration.file.FileConfigSection
 
getKeys(boolean) - Method in class xyz.tozymc.configuration.memory.MemoryConfigSection
 
getList(String) - Method in interface xyz.tozymc.configuration.DataStorage
Gets the List value with given path.
getList(String, Class<T>) - Method in interface xyz.tozymc.configuration.DataStorage
Gets the List value with given path.
getLong(String) - Method in interface xyz.tozymc.configuration.DataStorage
Gets the long value with given path, returns 0L when value wasn't existed.
getMapList(String) - Method in interface xyz.tozymc.configuration.DataStorage
Gets the List&#60;Map&#60;String, ?>> value with given path.
getName() - Method in class xyz.tozymc.configuration.memory.MemoryConfigSection
 
getName() - Method in interface xyz.tozymc.configuration.TcConfigSection
Gets the name of this section.
getOptions() - Method in class xyz.tozymc.configuration.file.FileConfig
 
getOptions() - Method in interface xyz.tozymc.configuration.TcConfig
Gets the options of this configuration.
getOrDefault(String, Class<T>, T) - Method in interface xyz.tozymc.configuration.DataStorage
Gets the value with given path, returns the default value if requested value is null.
getOrDefault(String, Class<T>, T) - Method in class xyz.tozymc.configuration.memory.MemoryConfigSection
 
getOrDefault(String, Object) - Method in interface xyz.tozymc.configuration.DataStorage
Gets the value with given path, returns the default value if requested value is null.
getOrDefault(String, Object) - Method in class xyz.tozymc.configuration.file.FileConfigSection
 
getOrDefault(String, Object) - Method in class xyz.tozymc.configuration.memory.MemoryConfigSection
 
getParent() - Method in class xyz.tozymc.configuration.memory.MemoryConfigSection
 
getParent() - Method in interface xyz.tozymc.configuration.TcConfig
 
getParent() - Method in interface xyz.tozymc.configuration.TcConfigSection
Gets the section that contains this section.
getPath() - Method in class xyz.tozymc.configuration.file.FileConfig
Gets the configuration file.
getRoot() - Method in class xyz.tozymc.configuration.file.FileConfigSection
 
getRoot() - Method in class xyz.tozymc.configuration.memory.MemoryConfigSection
 
getRoot() - Method in interface xyz.tozymc.configuration.TcConfigSection
Gets the root config that contains this section.
getString(String) - Method in interface xyz.tozymc.configuration.DataStorage
Gets the String value with given path.
getStringList(String) - Method in interface xyz.tozymc.configuration.DataStorage
Gets the List&#60;String> value with given path.
getValues() - Method in interface xyz.tozymc.configuration.DataStorage
Gets the copy map of values.
getValues() - Method in class xyz.tozymc.configuration.file.FileConfigSection
 
getValues() - Method in class xyz.tozymc.configuration.memory.MemoryConfigSection
 

H

hasChild(String) - Method in class xyz.tozymc.configuration.memory.MemoryConfigSection
 
hasChild(String) - Method in interface xyz.tozymc.configuration.TcConfigSection
Checks if this section contains the given path and the given path is configuration section.

I

INTELLIGENT - xyz.tozymc.configuration.file.option.ReloadableType
The configuration may reload when the config file is modified or the setter value is not equal to the old value.
isBoolean(String) - Method in interface xyz.tozymc.configuration.DataStorage
Checks if this storage contains this path and the value type is boolean.
isDouble(String) - Method in interface xyz.tozymc.configuration.DataStorage
Checks if this storage contains this path and the value type is double.
isInt(String) - Method in interface xyz.tozymc.configuration.DataStorage
Checks if this storage contains this path and the value type is int.
isList(String) - Method in interface xyz.tozymc.configuration.DataStorage
Checks if this storage contains this path and the value type is List.
isLong(String) - Method in interface xyz.tozymc.configuration.DataStorage
Checks if this storage contains this path and the value type is long.
isString(String) - Method in interface xyz.tozymc.configuration.DataStorage
Checks if this storage contains this path and the value type is String.

M

MANUALLY - xyz.tozymc.configuration.file.option.ReloadableType
FileConfig will be reloaded manually by executing reload method.
MemoryConfigSection - Class in xyz.tozymc.configuration.memory
The type of TcConfigSection that is stored in memory.
MemoryConfigSection() - Constructor for class xyz.tozymc.configuration.memory.MemoryConfigSection
Constructs new root TcConfigSection.
MemoryConfigSection(TcConfigSection, String) - Constructor for class xyz.tozymc.configuration.memory.MemoryConfigSection
Constructs new child TcConfigSection.
merge(String, Class<T>, T, BiFunction<? super T, ? super T, ? extends T>) - Method in interface xyz.tozymc.configuration.DataStorage
Gets the value and recomputes it, then put it into this storage.

N

newSection(TcConfigSection, String) - Method in class xyz.tozymc.configuration.file.FileConfigSection
 
notNull(T, String) - Static method in class xyz.tozymc.configuration.util.Validators
 
notNullArgs(T, String) - Static method in class xyz.tozymc.configuration.util.Validators
 
notNullArgs(T, String, Object...) - Static method in class xyz.tozymc.configuration.util.Validators
 
NumberConversions - Class in xyz.tozymc.configuration.util
 

O

options - Variable in class xyz.tozymc.configuration.file.FileConfig
 

P

pathSeparator() - Method in class xyz.tozymc.configuration.builder.AbstractConfigBuilder
Gets the char that will be used to separate in TcConfigSection, default is "46".
pathSeparator() - Method in class xyz.tozymc.configuration.option.TcConfigOptions
Gets the char that will be used to separate in TcConfigSection, default is "46".
pathSeparator(char) - Method in class xyz.tozymc.configuration.builder.AbstractConfigBuilder
Sets the char that will be used to separate in TcConfigSection.
pathSeparator(char) - Method in class xyz.tozymc.configuration.option.TcConfigOptions
Sets the char that will be used to separate in TcConfigSection.

R

readToMap() - Method in class xyz.tozymc.configuration.file.FileConfig
Loads value to map from file.
registerSerializer(TcConfigSerializer<?>) - Static method in class xyz.tozymc.configuration.serialization.TcConfigSerializations
Registers the serializer to the backend.
registerSerializers(TcConfigSerializer<?>...) - Static method in class xyz.tozymc.configuration.serialization.TcConfigSerializations
Registers the serializers to the backend.
reload() - Method in class xyz.tozymc.configuration.file.FileConfig
Reads data from file and loads it to memory.
ReloadableType - Enum in xyz.tozymc.configuration.file.option
The list of reloadable types used for FileConfig.
reloadIfNeeded() - Method in class xyz.tozymc.configuration.file.FileConfig
 
reloadSection(Map<String, ?>) - Method in class xyz.tozymc.configuration.memory.MemoryConfigSection
 
reloadType() - Method in class xyz.tozymc.configuration.file.builder.AbstractFileConfigBuilder
Gets the configuration reload type, default is ReloadableType.MANUALLY.
reloadType() - Method in class xyz.tozymc.configuration.file.option.FileConfigOptions
Gets the configuration reload type, default is ReloadableType.MANUALLY.
reloadType(ReloadableType) - Method in class xyz.tozymc.configuration.file.builder.AbstractFileConfigBuilder
Sets the configuration reload type.
reloadType(ReloadableType) - Method in class xyz.tozymc.configuration.file.option.FileConfigOptions
Sets the configuration reload type.
remove(String) - Method in interface xyz.tozymc.configuration.DataStorage
Removes the value where path indicated.
replace(String, Object, Object) - Method in interface xyz.tozymc.configuration.DataStorage
Replaces the value for the given path.

S

save() - Method in class xyz.tozymc.configuration.file.FileConfig
Writes data in memory to string and saves it to file.
SectionPaths - Class in xyz.tozymc.configuration.util
 
serialize(T) - Method in interface xyz.tozymc.configuration.serialization.TcConfigSerializer
Creates a Map represents specified object.
SerializeAs - Annotation Type in xyz.tozymc.configuration.serialization.annotation
A field annotated with SerializeAs will be serialized and stored under the specified name.
serializeObject(Object) - Static method in class xyz.tozymc.configuration.serialization.TcConfigSerializations
Creates map represented the object.
set(String, Object) - Method in interface xyz.tozymc.configuration.DataStorage
Sets the value to which the path is specified.
set(String, Object) - Method in class xyz.tozymc.configuration.file.FileConfigSection
 
set(String, Object) - Method in class xyz.tozymc.configuration.memory.MemoryConfigSection
 
setIfAbsent(String, Object) - Method in interface xyz.tozymc.configuration.DataStorage
Sets the value to which the path is specified, the action is canceled when the path isn't in this storage.
setIfAbsent(String, Object) - Method in class xyz.tozymc.configuration.file.FileConfigSection
 
setIfAbsent(String, Object) - Method in class xyz.tozymc.configuration.memory.MemoryConfigSection
 

T

TcConfig - Interface in xyz.tozymc.configuration
Represents a root configuration section.
tcconfig.core - module tcconfig.core
 
TcConfigException - Exception in xyz.tozymc.configuration.exception
Exception thrown when operation in configuration.
TcConfigException(String) - Constructor for exception xyz.tozymc.configuration.exception.TcConfigException
Creates new TcConfigException with detail message.
TcConfigException(String, Throwable) - Constructor for exception xyz.tozymc.configuration.exception.TcConfigException
Creates new TcConfigSerializationException with detail message and cause.
TcConfigOptions - Class in xyz.tozymc.configuration.option
Various options for TcConfig.
TcConfigOptions(TcConfig) - Constructor for class xyz.tozymc.configuration.option.TcConfigOptions
Creates new TcConfigOptions for TcConfig.
TcConfigSection - Interface in xyz.tozymc.configuration
Represents configuration section.
TcConfigSerializationException - Exception in xyz.tozymc.configuration.exception
Exception thrown when an error occurs when serializing.
TcConfigSerializationException(String) - Constructor for exception xyz.tozymc.configuration.exception.TcConfigSerializationException
Creates new TcConfigSerializationException with detail message.
TcConfigSerializationException(String, Throwable) - Constructor for exception xyz.tozymc.configuration.exception.TcConfigSerializationException
Creates new TcConfigSerializationException with detail message and cause.
TcConfigSerializations - Class in xyz.tozymc.configuration.serialization
Backend for object serialization.
TcConfigSerializer<T> - Interface in xyz.tozymc.configuration.serialization
Represents a serializer to serialize and deserialize object.
toDouble(Object) - Static method in class xyz.tozymc.configuration.util.NumberConversions
 
toInt(Object) - Static method in class xyz.tozymc.configuration.util.NumberConversions
 
toLong(Object) - Static method in class xyz.tozymc.configuration.util.NumberConversions
 

U

unregisterSerializer(TcConfigSerializer<?>) - Static method in class xyz.tozymc.configuration.serialization.TcConfigSerializations
Unregisters the serializer to the backend.
unregisterSerializers(TcConfigSerializer<?>...) - Static method in class xyz.tozymc.configuration.serialization.TcConfigSerializations
Unregisters the serializers to the backend.

V

Validators - Class in xyz.tozymc.configuration.util
 
value() - Method in annotation type xyz.tozymc.configuration.serialization.annotation.SerializeAs
 
valueOf(String) - Static method in enum xyz.tozymc.configuration.file.option.ReloadableType
Returns the enum constant of this type with the specified name.
values() - Static method in enum xyz.tozymc.configuration.file.option.ReloadableType
Returns an array containing the constants of this enum type, in the order they are declared.

W

writeToString() - Method in class xyz.tozymc.configuration.file.FileConfig
Writes this config to string to save in file.

X

xyz.tozymc.configuration - package xyz.tozymc.configuration
 
xyz.tozymc.configuration.builder - package xyz.tozymc.configuration.builder
 
xyz.tozymc.configuration.exception - package xyz.tozymc.configuration.exception
 
xyz.tozymc.configuration.file - package xyz.tozymc.configuration.file
 
xyz.tozymc.configuration.file.builder - package xyz.tozymc.configuration.file.builder
 
xyz.tozymc.configuration.file.option - package xyz.tozymc.configuration.file.option
 
xyz.tozymc.configuration.memory - package xyz.tozymc.configuration.memory
 
xyz.tozymc.configuration.option - package xyz.tozymc.configuration.option
 
xyz.tozymc.configuration.serialization - package xyz.tozymc.configuration.serialization
 
xyz.tozymc.configuration.serialization.annotation - package xyz.tozymc.configuration.serialization.annotation
 
xyz.tozymc.configuration.util - package xyz.tozymc.configuration.util
 
A B C D F G H I M N O P R S T U V W X 
All Classes All Packages