| Package | Description |
|---|---|
| net.obvj.confectory |
The main package.
|
| net.obvj.confectory.mapper |
This package groups the
Mapper interface and its implementations, as well as
auxiliary classes. |
| net.obvj.confectory.source |
This package groups the
Source interface and its implementations, as well as
auxiliary classes. |
| Modifier and Type | Method and Description |
|---|---|
Mapper<T> |
Configuration.getMapper() |
Mapper<T> |
ConfigurationBuilder.getMapper() |
Mapper<T> |
ConfigurationMetadataRetriever.getMapper()
Returns the
Mapper object associated with this Configuration. |
| Modifier and Type | Method and Description |
|---|---|
ConfigurationBuilder<T> |
ConfigurationBuilder.mapper(Mapper<T> mapper)
Defines the
Mapper of the new Configuration. |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractBeanMapper<T>
An abstract
Mapper for implementations intended to load the contents of an
InputStream into user-defined beans. |
class |
PropertiesMapper
|
class |
StringMapper
A specialized
Mapper that loads the contents of an InputStream as
String, typically for testing/troubleshooting or manual handling purposes. |
| Modifier and Type | Method and Description |
|---|---|
T |
ClasspathFileSource.load(Mapper<T> mapper) |
T |
DynamicSource.load(Mapper<T> mapper) |
T |
FileSource.load(Mapper<T> mapper) |
T |
Source.load(Mapper<T> mapper)
Applies a specific configuration loading strategy and returns the retrieved data,
throwing an exception if the operation fails.
|
T |
StringSource.load(Mapper<T> mapper) |
Optional<T> |
AbstractSource.load(Mapper<T> mapper,
boolean optional) |
Optional<T> |
Source.load(Mapper<T> mapper,
boolean optional)
Applies a specific configuration loading strategy and returns an
Optional,
possibly containing the retrieved data. |
Copyright © 2021. All rights reserved.