public interface MappingSupport
| Modifier and Type | Method and Description |
|---|---|
void |
invokeMappingWithConfig(org.adroitlogic.datamapping.MappingSource source,
File mappingConfigFile,
org.adroitlogic.datamapping.MappingResult result,
org.adroitlogic.datamapping.processors.ResultEntryProcessor resultEntryProcessor)
Transforms the content of the
MappingSource using the mapping configuration provided in File
which contains the JSON mapping configuration and emits the transformed content into the MappingResult. |
void |
invokeMappingWithConfig(org.adroitlogic.datamapping.MappingSource source,
String mappingConfigFile,
org.adroitlogic.datamapping.MappingResult result,
org.adroitlogic.datamapping.processors.ResultEntryProcessor resultEntryProcessor)
Transforms the content of the
MappingSource using the mapping configuration provided within the
mappingConfigFile and emits the transformed content into the MappingResult. |
void invokeMappingWithConfig(org.adroitlogic.datamapping.MappingSource source,
String mappingConfigFile,
org.adroitlogic.datamapping.MappingResult result,
org.adroitlogic.datamapping.processors.ResultEntryProcessor resultEntryProcessor)
throws org.adroitlogic.datamapping.ParseException
MappingSource using the mapping configuration provided within the
mappingConfigFile and emits the transformed content into the MappingResult.
The mapping configuration file MUST be a JSON configuration file and it MUST contain a syntactically
valid mapping configuration.source - The mapping Source. Refer MappingSourcemappingConfigFile - The absolute path of the JSON file which contains the mapping configurationresult - The mapping result. Refer MappingSourceresultEntryProcessor - refer ResultEntryProcessororg.adroitlogic.datamapping.ParseException - when reading the mapping configuration file fails or when reading the content of the
mappingSource fails.void invokeMappingWithConfig(org.adroitlogic.datamapping.MappingSource source,
File mappingConfigFile,
org.adroitlogic.datamapping.MappingResult result,
org.adroitlogic.datamapping.processors.ResultEntryProcessor resultEntryProcessor)
throws org.adroitlogic.datamapping.ParseException
MappingSource using the mapping configuration provided in File
which contains the JSON mapping configuration and emits the transformed content into the MappingResult.
The mapping configuration file MUST be a JSON configuration file and it MUST contain a syntactically
valid mapping configuration.source - The mapping Source. Refer MappingSourcemappingConfigFile - The File which contains the JSON mapping configurationresult - The mapping result. Refer MappingSourceresultEntryProcessor - refer ResultEntryProcessororg.adroitlogic.datamapping.ParseException - when reading the mapping configuration file fails or when reading the content of the
mappingSource fails.Copyright © 2010–2016 AdroitLogic. All rights reserved.