All Classes and Interfaces
Class
Description
The Config API is equipped with an automatic deserializer (see
It is not perfect and may produce ugly looking results
For this reason the Adapter API exists where you can create your own custom serializer for an object into a map of "simple" objects and string keys
ObjectSerializer.serialize(Object, boolean))
It is not perfect and may produce ugly looking results
For this reason the Adapter API exists where you can create your own custom serializer for an object into a map of "simple" objects and string keys
A backend is a storage system for ConfigTrees
It handles getting and putting ConfigTrees and also serializing and deserializing them
It handles getting and putting ConfigTrees and also serializing and deserializing them
The only bundled adapter in the config system which makes colors a lot more readable when serialized
Class which represents a property in a tree
to actually create a property see the
to actually create a property see the
Properties classDeprecated.
This functional interface represents a 'translator' which will take an object and return a
Changes to the tree should be reflected in the object and changes to the object in the tree
Tree representing the serializable representation of the object
Changes to the tree should be reflected in the object and changes to the object in the tree
A serializer is a class that is capable of turning a
Trees are the primary data structure in OneConfig and are used to represent configuration data
Each node is a key-value pair of either a string and a sub-tree or a string and some data
Trees can contain arbitrary potentially complex data types in them so you need to be able to serialize and deserialize this data into a specific type
The easiest way to do this is to use the builtin
The following types are used by this and so you need to be able to serialize and deserialize them primitive type wrappers (Number and Character and Boolean) CharSequence Lists or Arrays of the above types (at your discretion) Map containing the above types If you do not want to use this facility you can create your own complex object serializer and use that instead
Tree into a specific type Serializer and back again
Trees are the primary data structure in OneConfig and are used to represent configuration data
Each node is a key-value pair of either a string and a sub-tree or a string and some data
Trees can contain arbitrary potentially complex data types in them so you need to be able to serialize and deserialize this data into a specific type
The easiest way to do this is to use the builtin
ObjectSerializer which provides
simple methods to convert objects into simple types along with the facility to use defined Adapters
The following types are used by this and so you need to be able to serialize and deserialize them primitive type wrappers (Number and Character and Boolean) CharSequence Lists or Arrays of the above types (at your discretion) Map containing the above types If you do not want to use this facility you can create your own complex object serializer and use that instead
The Tree class represents a tree structure that contains properties and other trees as children
It provides methods to access and modify and compare the tree and its elements
It provides methods to access and modify and compare the tree and its elements