org.simpleflatmapper.converter.ContextualConverterAdapter Maven / Gradle / Ivy
package org.simpleflatmapper.converter;
public class ContextualConverterAdapter implements ContextualConverter {
private final Converter super I, ? extends O> delegate;
public ContextualConverterAdapter(Converter super I, ? extends O> converter) {
this.delegate = converter;
}
@Override
public O convert(I in, Context context) throws Exception {
return delegate.convert(in);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy