Uses of Interface
net.obvj.confectory.mapper.Mapper
-
Packages that use Mapper Package Description net.obvj.confectory The main package.net.obvj.confectory.internal.helper This package contains classes that support data retrieval for supportedConfigurationformats.net.obvj.confectory.mapper This package groups theMapperinterface and its implementations, as well as auxiliary classes.net.obvj.confectory.source This package groups theSourceinterface and its implementations, as well as auxiliary classes. -
-
Uses of Mapper in net.obvj.confectory
Methods in net.obvj.confectory that return Mapper Modifier and Type Method Description Mapper<T>Configuration. getMapper()Mapper<T>ConfigurationBuilder. getMapper()Mapper<T>ConfigurationMetadataRetriever. getMapper()Returns theMapperobject associated with thisConfiguration.Methods in net.obvj.confectory with parameters of type Mapper Modifier and Type Method Description ConfigurationBuilder<T>ConfigurationBuilder. mapper(Mapper<T> mapper)Defines theMapperof the newConfiguration. -
Uses of Mapper in net.obvj.confectory.internal.helper
Methods in net.obvj.confectory.internal.helper with parameters of type Mapper Modifier and Type Method Description static <T> ConfigurationHelper<T>ConfigurationHelper. newInstance(T bean, Mapper<T> mapper)Creates a newConfigurationHelperfor the givenMapper. -
Uses of Mapper in net.obvj.confectory.mapper
Classes in net.obvj.confectory.mapper that implement Mapper Modifier and Type Class Description classAbstractBeanMapper<T>An abstractMapperfor implementations intended to load the contents of anInputStreaminto user-defined beans.classAbstractINIMapper<T>An abstractMapperthat defines a template of how to parse the contents of a valid INISource(e.g.: file, URL).classDocumentMapperA specializedMapperthat loads the contents of a valid XMLSource(e.g.: file, URL) as a W3CDocument.classDummyMapper<T>A dummyMapperfor use with a preset configuration bean and other internal purposes.classINIToJSONObjectMapperA specializedMapperthat loads the contents of a valid INISourceas aJSONObject.classINIToObjectMapper<T>A specializedMapperthat loads the contents of a valid INISource(e.g.: file, URL) into a POJO (Plain-Old Java Object).classJSONObjectMapperA specializedMapperthat loads the contents of a valid JSONSource(e.g.: file, URL) as aJSONObject(json-smartJSON implementation).classPropertiesMapperA specializedMapperthat loads the contents of aSource(e.g.: file, URL) asProperties(a table of key-value pairs).classPropertiesToObjectMapper<T>A specializedMapperthat loads the contents of aSource(e.g.: file, URL) in thePropertiesformat (a sequence of key-value pairs) and converts it into a POJO (Plain-Old Java Object).classStringMapperA specializedMapperthat loads the contents of aSource(e.g.: file, URL) as aStringusing the JVM defaultCharset. -
Uses of Mapper in net.obvj.confectory.source
Methods in net.obvj.confectory.source with parameters of type Mapper Modifier and Type Method Description TAbstractSource. load(Mapper<T> mapper, boolean optional)TClasspathFileSource. load(Mapper<T> mapper)TDummySource. load(Mapper<T> mapper)TDynamicSource. load(Mapper<T> mapper)TFileSource. load(Mapper<T> mapper)TSource. load(Mapper<T> mapper)Applies a specific configuration loading strategy and returns a mapped bean containing the retrieved data, throwing an exception if the operation fails.TSource. load(Mapper<T> mapper, boolean optional)Applies a specific configuration loading strategy and returns a mapped bean containing the retrieved data.TStringSource. load(Mapper<T> mapper)TURLSource. load(Mapper<T> mapper)
-