Package redempt.redlib.config.conversion
Class ObjectConverter
java.lang.Object
redempt.redlib.config.conversion.ObjectConverter
A converter which builds objects from configuration sections
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> TypeConverter<T>
create
(ConversionManager manager, ConfigType<?> type) Creates an object converter
-
Constructor Details
-
ObjectConverter
public ObjectConverter()
-
-
Method Details
-
create
Creates an object converter- Type Parameters:
T
- The type- Parameters:
manager
- The ConversionManager handling converterstype
- The config type to convert- Returns:
- An object converter for the given type
-