Package net.obvj.confectory.mapper
This package groups the Mapper interface and its implementations, as well as
auxiliary classes.
- Since:
- 0.1.0
-
Interface Summary Interface Description Mapper<T> The base interface for a configuration mapper. -
Class Summary Class Description AbstractBeanMapper<T> An abstractMapperfor implementations intended to load the contents of anInputStreaminto user-defined beans.AbstractINIMapper<T> An abstractMapperthat defines a template of how to parse the contents of a valid INISource(e.g.: file, URL).DocumentMapper A specializedMapperthat loads the contents of a valid XMLSource(e.g.: file, URL) as a W3CDocument.DummyMapper<T> A dummyMapperfor use with a preset configuration bean and other internal purposes.INIToJSONObjectMapper A specializedMapperthat loads the contents of a valid INISourceas aJSONObject.INIToObjectMapper<T> A specializedMapperthat loads the contents of a valid INISource(e.g.: file, URL) into a POJO (Plain-Old Java Object).JSONObjectMapper A specializedMapperthat loads the contents of a valid JSONSource(e.g.: file, URL) as aJSONObject(json-smartJSON implementation).PropertiesMapper A specializedMapperthat loads the contents of aSource(e.g.: file, URL) asProperties(a table of key-value pairs).PropertiesToObjectMapper<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).StringMapper A specializedMapperthat loads the contents of aSource(e.g.: file, URL) as aStringusing the JVM defaultCharset.