All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.tecacet.jflat8.impl.JoddConverterRegistry Maven / Gradle / Ivy

Go to download

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.

There is a newer version: 0.0.5
Show newest version
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