
com.tecacet.jflat8.impl.JoddConverterRegistry Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jflat8 Show documentation
Show all versions of jflat8 Show documentation
Convert flat files to Java Beans and vice versa.
Some supported formats are CSV, fixed-width, arbitrary regex, and more.
JFlat 8 is highly extensible and can be adopted to support additional formats.
package com.tecacet.jflat8.impl;
import java.util.function.Function;
import com.tecacet.jflat8.ConverterRegistry;
import jodd.typeconverter.TypeConverterManager;
public class JoddConverterRegistry implements ConverterRegistry {
@Override
public void registerConverter(Class toType, Function converter) {
TypeConverterManager.register(toType, Converters.fromFunction(converter));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy