Skip navigation links
A B C D E F G H I J L M N O P R S T U V W Y 

A

append(E) - Method in class net.dzikoysk.cdn.model.Section
 
ARRAY - Static variable in class net.dzikoysk.cdn.CdnConstants
 
Array - Class in net.dzikoysk.cdn.model
Represents section of direct values such as e.g.
Array(List<? extends String>, String) - Constructor for class net.dzikoysk.cdn.model.Array
 
Array(List<? extends String>, String, List<? extends Element<?>>) - Constructor for class net.dzikoysk.cdn.model.Array
 
ARRAY_SEPARATOR - Static variable in class net.dzikoysk.cdn.CdnConstants
 

B

build() - Method in class net.dzikoysk.cdn.CdnSettings
Build an CDN instance using current settings

C

Cdn - Class in net.dzikoysk.cdn
The main class of Cdn library that expose methods related to process of loading/rendering configurations.
CdnConstants - Class in net.dzikoysk.cdn
 
CdnDeserializer<T> - Class in net.dzikoysk.cdn
 
CdnDeserializer(CdnSettings) - Constructor for class net.dzikoysk.cdn.CdnDeserializer
 
CdnFactory - Class in net.dzikoysk.cdn
Factory creates some predefined CDN instances
CdnFactory() - Constructor for class net.dzikoysk.cdn.CdnFactory
 
CdnFeature - Interface in net.dzikoysk.cdn
 
CdnSerializer - Class in net.dzikoysk.cdn
 
CdnSerializer(CdnSettings) - Constructor for class net.dzikoysk.cdn.CdnSerializer
 
CdnSettings - Class in net.dzikoysk.cdn
Settings used by CDN instance.
CdnSettings() - Constructor for class net.dzikoysk.cdn.CdnSettings
 
CdnUtils - Class in net.dzikoysk.cdn
 
COMMENT_OPERATORS - Static variable in class net.dzikoysk.cdn.CdnConstants
 
Composer<T> - Interface in net.dzikoysk.cdn.serialization
The composer represents implementation of both: serializer and deserializer interfaces.
composers - Variable in class net.dzikoysk.cdn.CdnSettings
 
Configuration - Class in net.dzikoysk.cdn.model
Represents the root section
Configuration() - Constructor for class net.dzikoysk.cdn.model.Configuration
 
Configuration(List<? extends Element<?>>) - Constructor for class net.dzikoysk.cdn.model.Configuration
 
configure() - Static method in class net.dzikoysk.cdn.Cdn
Build custom CDN instance.
Contextual - Annotation Type in net.dzikoysk.cdn.entity
 
ContextualComposers - Class in net.dzikoysk.cdn.composers
 
ContextualComposers() - Constructor for class net.dzikoysk.cdn.composers.ContextualComposers
 
convertToCdn(String) - Method in interface net.dzikoysk.cdn.CdnFeature
 
convertToCdn(String) - Method in class net.dzikoysk.cdn.features.JsonFeature
 
convertToCdn(String) - Method in class net.dzikoysk.cdn.features.YamlLikeFeature
 
createJson() - Static method in class net.dzikoysk.cdn.CdnFactory
Create CDN with JSON feature
createStandard() - Static method in class net.dzikoysk.cdn.CdnFactory
Create standard CDN instance with CDN format
createYamlLike() - Static method in class net.dzikoysk.cdn.CdnFactory
Create CDN with YAML-like feature.
CustomComposer - Annotation Type in net.dzikoysk.cdn.entity
 

D

DefaultFeature - Class in net.dzikoysk.cdn.features
Default implementation of CDN file format
DefaultFeature() - Constructor for class net.dzikoysk.cdn.features.DefaultFeature
 
Description - Annotation Type in net.dzikoysk.cdn.entity
 
Descriptions - Annotation Type in net.dzikoysk.cdn.entity
 
DeserializationHandler<T> - Interface in net.dzikoysk.cdn.entity
 
deserialize(Class<T>, Section) - Method in class net.dzikoysk.cdn.CdnDeserializer
 
deserialize(CdnSettings, Element<?>, AnnotatedType, Object, boolean) - Method in class net.dzikoysk.cdn.composers.ContextualComposers
 
deserialize(AnnotatedType, String) - Method in class net.dzikoysk.cdn.composers.EnumComposer
 
deserialize(String) - Method in class net.dzikoysk.cdn.composers.EnumComposer
 
deserialize(CdnSettings, Element<?>, AnnotatedType, T, boolean) - Method in class net.dzikoysk.cdn.composers.ListComposer
 
deserialize(CdnSettings, Element<?>, AnnotatedType, T, boolean) - Method in class net.dzikoysk.cdn.composers.MapComposer
 
deserialize(CdnSettings, Element<?>, AnnotatedType, T, boolean) - Method in interface net.dzikoysk.cdn.serialization.Deserializer
 
deserialize(CdnSettings, Element<?>, AnnotatedType, T, boolean) - Method in class net.dzikoysk.cdn.serialization.SimpleComposer
 
deserialize(CdnSettings, Element<?>, AnnotatedType, T, boolean) - Method in interface net.dzikoysk.cdn.serialization.SimpleDeserializer
 
deserialize(AnnotatedType, String) - Method in interface net.dzikoysk.cdn.serialization.SimpleDeserializer
 
deserialize(String) - Method in interface net.dzikoysk.cdn.serialization.SimpleDeserializer
 
Deserializer<T> - Interface in net.dzikoysk.cdn.serialization
Represents process of converting configuration element into the Java object
destringify(String) - Static method in class net.dzikoysk.cdn.CdnUtils
 
dynamicComposers - Variable in class net.dzikoysk.cdn.CdnSettings
 

E

Element<T> - Interface in net.dzikoysk.cdn.model
Represents the simplest configuration element.
Entry - Class in net.dzikoysk.cdn.model
Represents key-value relation of String and Unit
Entry(List<? extends String>, String, String, Unit) - Constructor for class net.dzikoysk.cdn.model.Entry
 
Entry(List<? extends String>, String, String, String) - Constructor for class net.dzikoysk.cdn.model.Entry
 
Entry(List<? extends String>, String, Unit) - Constructor for class net.dzikoysk.cdn.model.Entry
 
Entry(List<? extends String>, String, String) - Constructor for class net.dzikoysk.cdn.model.Entry
 
EnumComposer - Class in net.dzikoysk.cdn.composers
 
EnumComposer() - Constructor for class net.dzikoysk.cdn.composers.EnumComposer
 
Exclude - Annotation Type in net.dzikoysk.cdn.entity
 

F

features - Variable in class net.dzikoysk.cdn.CdnSettings
 
findComposer(CdnSettings, AnnotatedType, Field) - Static method in class net.dzikoysk.cdn.CdnUtils
 
findComposer(CdnSettings, Class<?>, AnnotatedType, Field) - Static method in class net.dzikoysk.cdn.CdnUtils
 

G

GenericUtils - Class in net.dzikoysk.cdn.utils
 
get(int) - Method in class net.dzikoysk.cdn.model.Section
 
get(String) - Method in class net.dzikoysk.cdn.model.Section
 
getArray(int) - Method in class net.dzikoysk.cdn.model.Section
 
getArray(String) - Method in class net.dzikoysk.cdn.model.Section
 
getBoolean(String) - Method in class net.dzikoysk.cdn.model.Section
 
getBoolean(String, boolean) - Method in class net.dzikoysk.cdn.model.Section
 
getComposers() - Method in class net.dzikoysk.cdn.CdnSettings
 
getDescription() - Method in interface net.dzikoysk.cdn.model.Element
 
getDescription() - Method in class net.dzikoysk.cdn.model.Unit
 
getDynamicComposers() - Method in class net.dzikoysk.cdn.CdnSettings
 
getEntry(int) - Method in class net.dzikoysk.cdn.model.Section
 
getEntry(String) - Method in class net.dzikoysk.cdn.model.Section
 
getFeatures() - Method in class net.dzikoysk.cdn.CdnSettings
 
getInt(String) - Method in class net.dzikoysk.cdn.model.Section
 
getInt(String, int) - Method in class net.dzikoysk.cdn.model.Section
 
getList() - Method in class net.dzikoysk.cdn.model.Array
 
getList(String, List<String>) - Method in class net.dzikoysk.cdn.model.Section
 
getList(String) - Method in class net.dzikoysk.cdn.model.Section
 
getName() - Method in interface net.dzikoysk.cdn.model.NamedElement
The name of element
getOperators() - Method in class net.dzikoysk.cdn.model.Section
 
getPlaceholders() - Method in class net.dzikoysk.cdn.CdnSettings
 
getRaw() - Method in class net.dzikoysk.cdn.model.Entry
Get raw representation of entry
getRecord() - Method in class net.dzikoysk.cdn.model.Entry
Get entry as 'key: value' text.
getSection(int) - Method in class net.dzikoysk.cdn.model.Section
 
getSection(String) - Method in class net.dzikoysk.cdn.model.Section
 
getSettings() - Method in class net.dzikoysk.cdn.Cdn
Get settings used by this CDN instance
getString(String) - Method in class net.dzikoysk.cdn.model.Section
 
getString(String, String) - Method in class net.dzikoysk.cdn.model.Section
 
getUnitValue() - Method in class net.dzikoysk.cdn.model.Entry
Get unit's value using Unit.getValue() method.
getValue() - Method in interface net.dzikoysk.cdn.model.Element
 
getValue() - Method in class net.dzikoysk.cdn.model.Unit
 

H

handle(T) - Method in interface net.dzikoysk.cdn.entity.DeserializationHandler
 
has(String) - Method in class net.dzikoysk.cdn.model.Section
 

I

installFeature(CdnFeature) - Method in class net.dzikoysk.cdn.CdnSettings
Install CdnFeature instance.

J

JsonFeature - Class in net.dzikoysk.cdn.features
Implementation of JSON file format based on default implementation of CDN format.
JsonFeature() - Constructor for class net.dzikoysk.cdn.features.JsonFeature
 

L

LINE_SEPARATOR - Static variable in class net.dzikoysk.cdn.CdnConstants
 
ListComposer<T> - Class in net.dzikoysk.cdn.composers
 
ListComposer() - Constructor for class net.dzikoysk.cdn.composers.ListComposer
 
load(String) - Method in class net.dzikoysk.cdn.Cdn
Load configuration as default Configuration structure.
load(File) - Method in class net.dzikoysk.cdn.Cdn
Load configuration located in the given file with UTF-8 charset.
load(File, Charset) - Method in class net.dzikoysk.cdn.Cdn
Load configuration located in the given file with the provided charset.
load(String, Class<T>) - Method in class net.dzikoysk.cdn.Cdn
Load configuration from the given source and map default Configuration structure into the given configuration class.
load(File, Class<T>) - Method in class net.dzikoysk.cdn.Cdn
Load configuration located in the given file as the given class using UTF-8 charset.
load(File, Charset, Class<T>) - Method in class net.dzikoysk.cdn.Cdn
Load configuration located in the given file as the given class using the given charset

M

MapComposer<T> - Class in net.dzikoysk.cdn.composers
 
MapComposer() - Constructor for class net.dzikoysk.cdn.composers.MapComposer
 

N

NamedElement<T> - Interface in net.dzikoysk.cdn.model
Represents standalone configuration elements.
net.dzikoysk.cdn - package net.dzikoysk.cdn
 
net.dzikoysk.cdn.composers - package net.dzikoysk.cdn.composers
 
net.dzikoysk.cdn.entity - package net.dzikoysk.cdn.entity
 
net.dzikoysk.cdn.features - package net.dzikoysk.cdn.features
 
net.dzikoysk.cdn.model - package net.dzikoysk.cdn.model
 
net.dzikoysk.cdn.serialization - package net.dzikoysk.cdn.serialization
 
net.dzikoysk.cdn.utils - package net.dzikoysk.cdn.utils
 

O

OBJECT_SEPARATOR - Static variable in class net.dzikoysk.cdn.CdnConstants
 
OPERATOR - Static variable in class net.dzikoysk.cdn.CdnConstants
 

P

placeholders - Variable in class net.dzikoysk.cdn.CdnSettings
 

R

readFile(File, Charset) - Static method in class net.dzikoysk.cdn.CdnUtils
 
registerPlaceholders(Map<String, String>) - Method in class net.dzikoysk.cdn.CdnSettings
Register map of placeholders
render(Object) - Method in class net.dzikoysk.cdn.Cdn
Convert the given instance to the output string
render(Object, File) - Method in class net.dzikoysk.cdn.Cdn
Convert the given instance using Cdn.render(Object) method and save the output in the given file using UTF-8 charset.
render(Element<?>) - Method in class net.dzikoysk.cdn.Cdn
Convert the given configuration instance to the output string
render(Element<?>, File) - Method in class net.dzikoysk.cdn.Cdn
Convert the given instance using Cdn.render(net.dzikoysk.cdn.model.Element) method and save the output in the given file using UTF-8 charset.
resolveArray(Stack<Section>, Unit) - Method in interface net.dzikoysk.cdn.CdnFeature
 
resolveArray(Stack<Section>, Unit) - Method in class net.dzikoysk.cdn.features.DefaultFeature
 
resolveArray(Stack<Section>, Unit) - Method in class net.dzikoysk.cdn.features.YamlLikeFeature
 
resolveArrayValue(Element<?>) - Method in interface net.dzikoysk.cdn.CdnFeature
 
resolveArrayValue(Element<?>) - Method in class net.dzikoysk.cdn.features.YamlLikeFeature
 

S

Section - Class in net.dzikoysk.cdn.model
Represents a list of configuration elements
Section(List<? extends String>, String) - Constructor for class net.dzikoysk.cdn.model.Section
 
Section(List<? extends String>, String[], String) - Constructor for class net.dzikoysk.cdn.model.Section
 
Section(List<? extends String>, String, List<? extends Element<?>>) - Constructor for class net.dzikoysk.cdn.model.Section
 
Section(List<? extends String>, String[], String, List<? extends Element<?>>) - Constructor for class net.dzikoysk.cdn.model.Section
 
SEPARATOR - Static variable in class net.dzikoysk.cdn.CdnConstants
 
serialize(Object) - Method in class net.dzikoysk.cdn.CdnSerializer
 
serialize(Section, Object) - Method in class net.dzikoysk.cdn.CdnSerializer
 
serialize(CdnSettings, List<String>, String, AnnotatedType, Object) - Method in class net.dzikoysk.cdn.composers.ContextualComposers
 
serialize(CdnSettings, List<String>, String, AnnotatedType, Enum<?>) - Method in class net.dzikoysk.cdn.composers.EnumComposer
 
serialize(CdnSettings, List<String>, String, AnnotatedType, T) - Method in class net.dzikoysk.cdn.composers.ListComposer
 
serialize(CdnSettings, List<String>, String, AnnotatedType, T) - Method in class net.dzikoysk.cdn.composers.MapComposer
 
serialize(CdnSettings, List<String>, String, AnnotatedType, T) - Method in interface net.dzikoysk.cdn.serialization.Serializer
 
serialize(CdnSettings, List<String>, String, AnnotatedType, T) - Method in class net.dzikoysk.cdn.serialization.SimpleComposer
 
serialize(CdnSettings, List<String>, String, AnnotatedType, T) - Method in interface net.dzikoysk.cdn.serialization.SimpleSerializer
 
serialize(T) - Method in interface net.dzikoysk.cdn.serialization.SimpleSerializer
 
Serializer<T> - Interface in net.dzikoysk.cdn.serialization
Represents process of converting Java object into configuration element
setString(String, String) - Method in class net.dzikoysk.cdn.model.Section
 
SimpleComposer<T> - Class in net.dzikoysk.cdn.serialization
 
SimpleComposer(Serializer<T>, Deserializer<T>) - Constructor for class net.dzikoysk.cdn.serialization.SimpleComposer
 
SimpleDeserializer<T> - Interface in net.dzikoysk.cdn.serialization
Represents process of converting simple configuration element (Units and Entries) into the Java object
SimpleSerializer<T> - Interface in net.dzikoysk.cdn.serialization
Represents process of converting Java object into simple configuration element (Units and Entries)
size() - Method in class net.dzikoysk.cdn.model.Section
 
STRING_OPERATORS - Static variable in class net.dzikoysk.cdn.CdnConstants
 
stringify(String) - Static method in class net.dzikoysk.cdn.CdnUtils
 

T

toClass(Type) - Static method in class net.dzikoysk.cdn.CdnUtils
 
toEntry(List<? extends String>) - Method in class net.dzikoysk.cdn.model.Unit
 
toString() - Method in class net.dzikoysk.cdn.model.Entry
 
toString() - Method in class net.dzikoysk.cdn.model.Unit
 

U

Unit - Class in net.dzikoysk.cdn.model
Represents the smallest piece of information in configuration
Unit(String) - Constructor for class net.dzikoysk.cdn.model.Unit
 

V

visitArrayValue(Element<?>) - Method in interface net.dzikoysk.cdn.CdnFeature
 
visitArrayValue(Element<?>) - Method in class net.dzikoysk.cdn.features.YamlLikeFeature
 
visitSectionEnding(StringBuilder, String, Section) - Method in interface net.dzikoysk.cdn.CdnFeature
 
visitSectionEnding(StringBuilder, String, Section) - Method in class net.dzikoysk.cdn.features.DefaultFeature
 
visitSectionOpening(StringBuilder, String, Section) - Method in interface net.dzikoysk.cdn.CdnFeature
 
visitSectionOpening(StringBuilder, String, Section) - Method in class net.dzikoysk.cdn.features.DefaultFeature
 
visitSectionOpening(StringBuilder, String, Section) - Method in class net.dzikoysk.cdn.features.YamlLikeFeature
 

W

withComposer(Class<T>, SimpleSerializer<T>, SimpleDeserializer<T>) - Method in class net.dzikoysk.cdn.CdnSettings
Register simple serializer.
withComposer(Class<T>, Serializer<T>, Deserializer<T>) - Method in class net.dzikoysk.cdn.CdnSettings
Register composer using serializer and deserializer.
withComposer(Class<? super T>, Composer<T>) - Method in class net.dzikoysk.cdn.CdnSettings
Register simple serializer.
withDynamicComposer(Predicate<Class<?>>, Composer<?>) - Method in class net.dzikoysk.cdn.CdnSettings
Register dynamic composer that may parse range of classes.

Y

YamlLikeFeature - Class in net.dzikoysk.cdn.features
Implementation of YAML-like format.
YamlLikeFeature() - Constructor for class net.dzikoysk.cdn.features.YamlLikeFeature
 
A B C D E F G H I J L M N O P R S T U V W Y 
Skip navigation links

Copyright © 2021. All rights reserved.