U - source classV - target classpublic interface Converter<U,V>
| Modifier and Type | Method and Description |
|---|---|
void |
enhance(U source,
V target,
Config config,
Provider converterProvider)
Performs modification on the object of type
V using the object of type U. |
V |
map(U source,
Config config,
Provider converterProvider)
Converts object of type
U to an object of type V. |
V map(U source, Config config, Provider converterProvider) throws OpenRtbConverterException
U to an object of type V.source - object that needs to be convertedconfig - see ConfigconverterProvider - see ProviderOpenRtbConverterException - when conversion failsvoid enhance(U source, V target, Config config, Provider converterProvider) throws OpenRtbConverterException
V using the object of type U.source - object whose fields will be used to perform modificationtarget - object that needs to be modifiedconfig - see ConfigconverterProvider - see ProviderOpenRtbConverterException - when modification operation failsCopyright © 2019. All rights reserved.